1
0
mirror of https://github.com/e107inc/e107.git synced 2025-06-06 02:46:42 +02:00

fixes #88 - checkboxes and options rows being displayed on create/edit page.

This commit is contained in:
Cameron 2013-02-05 13:12:56 -08:00
parent 7de272bcfe
commit 1dfe9b5e24

View File

@ -2836,6 +2836,11 @@ class e_form
{ {
$key = $att['field']; $key = $att['field'];
} }
if($key == 'checkboxes' || $key == 'options')
{
continue;
}
$parms = vartrue($att['formparms'], array()); $parms = vartrue($att['formparms'], array());
if(!is_array($parms)) parse_str($parms, $parms); if(!is_array($parms)) parse_str($parms, $parms);
@ -2853,7 +2858,7 @@ class e_form
$keyName .= '['.$path.']'; $keyName .= '['.$path.']';
} }
} }
// print_a($att)."<br />";
// type null - system (special) fields // type null - system (special) fields
if(vartrue($att['type']) !== null && !vartrue($att['noedit']) && $key != $model->getFieldIdName()) if(vartrue($att['type']) !== null && !vartrue($att['noedit']) && $key != $model->getFieldIdName())
{ {