Fix each error in prefs checking

This commit is contained in:
Miles Lott 2001-03-19 17:18:28 +00:00
parent d35869cea1
commit cd91a6c4a1

View File

@ -72,7 +72,7 @@
// Read in user custom fields, if any
$phpgw->preferences->read_repository();
$customfields = array();
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_' ) {
$field = ereg_replace('extra_','',$col);
$field = ereg_replace(' ','_',$field);