mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-01 19:49:21 +01:00
Fixed custom field select options removed empty label if there was white space after options
This commit is contained in:
parent
a6ba6ab17e
commit
0b0b11c4f0
@ -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