diff --git a/admin/inc/class.customfields.inc.php b/admin/inc/class.customfields.inc.php index c36211e36e..ebddb2a213 100644 --- a/admin/inc/class.customfields.inc.php +++ b/admin/inc/class.customfields.inc.php @@ -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);