mirror of
https://github.com/e107inc/e107.git
synced 2025-05-11 22:55:21 +02:00
fixes #88 - checkboxes and options rows being displayed on create/edit page.
This commit is contained in:
parent
7de272bcfe
commit
1dfe9b5e24
@ -2836,6 +2836,11 @@ class e_form
|
||||
{
|
||||
$key = $att['field'];
|
||||
}
|
||||
|
||||
if($key == 'checkboxes' || $key == 'options')
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$parms = vartrue($att['formparms'], array());
|
||||
if(!is_array($parms)) parse_str($parms, $parms);
|
||||
@ -2853,7 +2858,7 @@ class e_form
|
||||
$keyName .= '['.$path.']';
|
||||
}
|
||||
}
|
||||
|
||||
// print_a($att)."<br />";
|
||||
// type null - system (special) fields
|
||||
if(vartrue($att['type']) !== null && !vartrue($att['noedit']) && $key != $model->getFieldIdName())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user