mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Closes #4906 - Allow for override of visibility for primary-id field during create/edit.
This commit is contained in:
parent
c50d1cf34c
commit
2f4fdf9520
@ -7903,7 +7903,7 @@ var_dump($select_options);*/
|
||||
}
|
||||
|
||||
// type null - system (special) fields
|
||||
if(vartrue($att['type']) !== null && !vartrue($att['noedit']) && $key != $model->getFieldIdName())
|
||||
if(!empty($att['writeParms']['visible']) || ( vartrue($att['type']) !== null && !vartrue($att['noedit']) && $key != $model->getFieldIdName()))
|
||||
{
|
||||
$required = '';
|
||||
$required_class = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user