forked from extern/egroupware
Fixed custom field select options removed empty label if there was white space after options
This commit is contained in:
parent
69f1fc4696
commit
1beba97dcf
@ -324,7 +324,7 @@ class customfields
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach(explode("\n",$content['cf_values']) as $line)
|
||||
foreach(explode("\n",trim($content['cf_values'])) as $line)
|
||||
{
|
||||
list($var,$value) = explode('=',trim($line),2);
|
||||
$var = trim($var);
|
||||
|
Loading…
Reference in New Issue
Block a user