diff options
author | Tom Beddard <subblue@users.sourceforge.net> | 2005-12-22 22:25:04 +0000 |
---|---|---|
committer | Tom Beddard <subblue@users.sourceforge.net> | 2005-12-22 22:25:04 +0000 |
commit | 0e34bb6c3528c919bc8ab89a128e68c77f2ff12a (patch) | |
tree | 0c742806e4693e0a314b57cd80dbbde89b44a7f1 | |
parent | 3f832e15436f7b0a489ac240ab4d8a5da8d470af (diff) | |
download | forums-0e34bb6c3528c919bc8ab89a128e68c77f2ff12a.tar forums-0e34bb6c3528c919bc8ab89a128e68c77f2ff12a.tar.gz forums-0e34bb6c3528c919bc8ab89a128e68c77f2ff12a.tar.bz2 forums-0e34bb6c3528c919bc8ab89a128e68c77f2ff12a.tar.xz forums-0e34bb6c3528c919bc8ab89a128e68c77f2ff12a.zip |
Another small tweak to allow empty theme.cfg values to overwrite the default, e.g. using an empty string for the pagination separator instead of a comma
git-svn-id: file:///svn/phpbb/trunk@5374 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/includes/session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 92a8f9d380..19569be832 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -801,7 +801,7 @@ class user extends session foreach ($check_for as $key => $default_value) { - $this->theme[$key] = (isset($parsed_items[$key]) && $parsed_items[$key]) ? $parsed_items[$key] : $default_value; + $this->theme[$key] = (isset($parsed_items[$key])) ? $parsed_items[$key] : $default_value; settype($this->theme[$key], gettype($default_value)); if (is_string($default_value)) |