mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fixed an E_NOTICE warning
This commit is contained in:
parent
0a5573a0fe
commit
6223948d37
@ -111,7 +111,7 @@
|
||||
}
|
||||
$select = '<select name="ConfigLang"'.($onChange ? ' onChange="this.form.submit();"' : '').'>' . "\n";
|
||||
$languages = get_langs();
|
||||
usort($languages,create_function('$a,$b','return strcmp($a[\'descr\'],$b[\'descr\']);'));
|
||||
usort($languages,create_function('$a,$b','return strcmp(@$a[\'descr\'],@$b[\'descr\']);'));
|
||||
foreach($languages as $data)
|
||||
{
|
||||
if($data['available'] && !empty($data['lang']))
|
||||
|
Loading…
Reference in New Issue
Block a user