mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
If no prefs are set, was causing an each error
This commit is contained in:
parent
498f1fcbb0
commit
8e481b4cfe
@ -39,7 +39,7 @@
|
||||
$phpgw->preferences->read_repository($phpgw_info['user']['account_id']);
|
||||
|
||||
$i=0;$j=0;
|
||||
while (list($col,$descr) = each($phpgw_info["user"]["preferences"]["addressbook"]))
|
||||
while (list($col,$descr) = @each($phpgw_info["user"]["preferences"]["addressbook"]))
|
||||
{
|
||||
if ( substr($col,0,6) == 'extra_' )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user