mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00: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:
parent
3f832e1543
commit
0e34bb6c35
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue