If no prefs are set, was causing an each error

This commit is contained in:
Miles Lott 2001-04-23 07:13:57 +00:00
parent 498f1fcbb0
commit 8e481b4cfe

View File

@ -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_' )
{