issue 1250 trim value in extra vars

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10251 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2012-02-28 10:26:23 +00:00
parent 0f2b468f46
commit fd803fab08

View file

@ -212,7 +212,7 @@
case 'checkbox' :
$buff .= '<ul>';
foreach($default as $v) {
if($value && in_array($v, $value)) $checked = ' checked="checked"';
if($value && in_array(trim($v), $value)) $checked = ' checked="checked"';
else $checked = '';
// Temporary ID for labeling