aboutsummaryrefslogtreecommitdiffstats
path: root/mod/home.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-15 22:52:19 -0700
committerfriendica <info@friendica.com>2013-08-15 22:52:19 -0700
commita8dd7280b33008d5100b6d8020640673abf5a78a (patch)
tree497d7446c445d669d57e1a1f4cfc12d94daa1efb /mod/home.php
parentfc0a9c78a9c6761a37460d93aed033786402731e (diff)
downloadvolse-hubzilla-a8dd7280b33008d5100b6d8020640673abf5a78a.tar.gz
volse-hubzilla-a8dd7280b33008d5100b6d8020640673abf5a78a.tar.bz2
volse-hubzilla-a8dd7280b33008d5100b6d8020640673abf5a78a.zip
get rid of more variables with dashes in the names - use underscore *except* in CSS. These were probably already here, but if you see any - please keep them out of PHP and MySQL where they sometimes get interpreted as a subtraction operation and are a bugger to find.
Diffstat (limited to 'mod/home.php')
-rw-r--r--mod/home.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/home.php b/mod/home.php
index 86d489853..d17d477c8 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -30,10 +30,10 @@ function home_content(&$a) {
if(x($_SESSION,'theme'))
unset($_SESSION['theme']);
- if(x($_SESSION,'mobile-theme'))
- unset($_SESSION['mobile-theme']);
+ if(x($_SESSION,'mobile_theme'))
+ unset($_SESSION['mobile_theme']);
-$channel_address = get_config("system", "site-channel" );
+$channel_address = get_config("system", "site_channel" );
if ($channel_address){
require_once('include/items.php');