diff options
author | rub <rub@piwigo.org> | 2007-03-28 19:57:00 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-03-28 19:57:00 +0000 |
commit | 7c43a3c62d28162ee70e960f51e048727725cb31 (patch) | |
tree | 1b967195f4edf6db91bf25a6facda55ad08a8935 /plugins/admin_advices/main.inc.php | |
parent | b86d4ac0b89e167bedbd03805e7c7024da5cef03 (diff) |
Issue 578
User guest must be real user
Step 1: guest is a real user
On next commit, I finish installation and use of guest of user list and group
git-svn-id: http://piwigo.org/svn/trunk@1926 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/admin_advices/main.inc.php')
-rw-r--r-- | plugins/admin_advices/main.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/admin_advices/main.inc.php b/plugins/admin_advices/main.inc.php index 18600e4b1..5df961ef0 100644 --- a/plugins/admin_advices/main.inc.php +++ b/plugins/admin_advices/main.inc.php @@ -35,7 +35,7 @@ function set_admin_advice() // Setup Advice Language (Maybe there is already a variable) $advlang = ( isset($user['language']) ) ? - $user['language'] : $conf['default_language']; // en_UK.iso-8859-1 + $user['language'] : get_default_language(); // en_UK.iso-8859-1 $my_path = dirname(__FILE__).'/'; $adv = array(); if ( !@file_exists($my_path."$advlang/lang.adv.php") ) |