mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 03:39:57 +03: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:
parent
fdebb13ad4
commit
7e5722ce78
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue