diff options
author | plegall <plg@piwigo.org> | 2010-03-22 22:22:59 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-03-22 22:22:59 +0000 |
commit | c0879165c6f3aec6189bb146e41e3f6d40b85314 (patch) | |
tree | a229683838b87cf60c95f07de5e50ccae690d9d7 /include/functions_user.inc.php | |
parent | 04482125dd866bdd8fb8516746f00716801d4197 (diff) |
bug fixed: if the theme for guest is empty (I don't know how this could be,
but it has been reported), the fallback on constant PHPWG_DEFAULT_TEMPLATE
was not working.
git-svn-id: http://piwigo.org/svn/trunk@5271 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/functions_user.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php index 99b18ea98..f9b31e51c 100644 --- a/include/functions_user.inc.php +++ b/include/functions_user.inc.php @@ -832,7 +832,7 @@ function get_default_user_info($convert_str = true) function get_default_user_value($value_name, $sos_value) { $default_user = get_default_user_info(true); - if ($default_user === false or !isset($default_user[$value_name])) + if ($default_user === false or empty($default_user[$value_name])) { return $sos_value; } |