diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-09-26 17:24:20 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-09-26 17:24:20 -0700 |
commit | 34eedb503acad59d649f96d3250b40cc1c84047c (patch) | |
tree | 95f0eb71d4db446743f5043ce8009fcc1566d9fa /mod/settings.php | |
parent | 1105cdb0654b6f9bb03e686b351da1cdaa8d8f4f (diff) | |
download | volse-hubzilla-34eedb503acad59d649f96d3250b40cc1c84047c.tar.gz volse-hubzilla-34eedb503acad59d649f96d3250b40cc1c84047c.tar.bz2 volse-hubzilla-34eedb503acad59d649f96d3250b40cc1c84047c.zip |
stronger type checking on comparisons
Diffstat (limited to 'mod/settings.php')
-rw-r--r-- | mod/settings.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/settings.php b/mod/settings.php index aef00c8c2..7ba2f177f 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -215,7 +215,7 @@ function settings_content(&$a) { if($files) { foreach($files as $file) { $f = basename($file); - $selected = (($f == $_SESSION['theme']) || ($f == 'default' && (! x($_SESSION,'theme'))) + $selected = (($f == $_SESSION['theme']) || ($f === 'default' && (! x($_SESSION,'theme'))) ? ' selected="selected" ' : '' ); $theme_selector .= '<option val="' . basename($file) . '"' . $selected . '>' . basename($file) . '</option>'; } |