mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
bug 3111: add comment to help understand the code
git-svn-id: http://piwigo.org/svn/trunk@29839 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -222,6 +222,10 @@ SELECT id
|
||||
$override = null;
|
||||
if ($notify_admin and $conf['browser_language'])
|
||||
{
|
||||
// if function get_browser_language finds a language in the browser
|
||||
// which matches a language activated in Piwigo, then it sets
|
||||
// $override['language'] to 'ru' (for example) and returns
|
||||
// true. $override won't stay null
|
||||
if (!get_browser_language($override['language']))
|
||||
{
|
||||
$override=null;
|
||||
|
||||
Reference in New Issue
Block a user