mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
update prefs to use lang() instead
This commit is contained in:
parent
0f50db2558
commit
c4318f11af
@ -11,7 +11,6 @@
|
||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||
* option) any later version. *
|
||||
\**************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$GLOBALS['phpgw_info'] = array();
|
||||
@ -69,7 +68,7 @@
|
||||
$GLOBALS['phpgw']->common->image($appname,'navbar','',True)
|
||||
);
|
||||
|
||||
while(list($text,$url) = each($file))
|
||||
while(is_array($file) && list($text,$url) = each($file))
|
||||
{
|
||||
section_item($url,lang($text));
|
||||
}
|
||||
|
@ -121,7 +121,7 @@
|
||||
{
|
||||
section_start($appname,$GLOBALS['phpgw']->common->image($appname,'navbar','',True));
|
||||
|
||||
while(list($text,$url) = each($file))
|
||||
while(is_array($file) && list($text,$url) = each($file))
|
||||
{
|
||||
section_item($url,lang($text));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user