mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 08:09:02 +01:00
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
|
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);
|
list($var,$value) = explode('=',trim($line),2);
|
||||||
$var = trim($var);
|
$var = trim($var);
|
||||||
|
Loading…
Reference in New Issue
Block a user