mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
fixed addressbook: customfields where not displayed if the name contained eg. upper case letters
This commit is contained in:
parent
785a3e18c6
commit
fbb52e8f47
@ -332,14 +332,12 @@
|
||||
$nonstd = $this->extrafields + $customfields;
|
||||
foreach($nonstd as $column)
|
||||
{
|
||||
$test = strtolower($column);
|
||||
if(isset($this->prefs[$test]) && $this->prefs[$test])
|
||||
if(isset($this->prefs[$column]) && $this->prefs[$column])
|
||||
{
|
||||
$showcol = $this->display_name($column[0]);
|
||||
$showcol = $this->display_name($column);
|
||||
/* This must be a custom field */
|
||||
if(!$showcol)
|
||||
{
|
||||
// $showcol = $column;
|
||||
$showcol = $namedfields[$column];
|
||||
}
|
||||
$cols .= ' <td height="21">' . "\n";
|
||||
|
Loading…
Reference in New Issue
Block a user