1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 20:57:26 +02:00

Closes #4906 - Allow for override of visibility for primary-id field during create/edit.

This commit is contained in:
Cameron
2022-11-06 09:16:25 -08:00
parent c50d1cf34c
commit 2f4fdf9520

View File

@@ -7903,7 +7903,7 @@ var_dump($select_options);*/
} }
// type null - system (special) fields // 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 = '';
$required_class = ''; $required_class = '';