mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Closes #4906 - Allow for override of visibility for primary-id field during create/edit.
This commit is contained in:
@@ -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 = '';
|
||||
|
Reference in New Issue
Block a user