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
This commit is contained in:
Tom Beddard 2005-12-22 22:25:04 +00:00
parent 3f832e1543
commit 0e34bb6c35

View file

@ -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))