mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
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:
@@ -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))
|
||||
|
Reference in New Issue
Block a user