mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix each error in prefs checking
This commit is contained in:
parent
d35869cea1
commit
cd91a6c4a1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user