mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Formattazione codice
This commit is contained in:
@@ -515,9 +515,9 @@ if ($structure->permission == 'rw') {
|
||||
|
||||
foreach ($values as $key => $value) {
|
||||
$name = $dbo->fetchOne('SELECT `name` FROM `zz_fields` WHERE `id` = '.prepare($key));
|
||||
$custom_fields = new HTMLBuilder\Manager\FieldManager;
|
||||
$custom_fields = new HTMLBuilder\Manager\FieldManager();
|
||||
$campo = $custom_fields->getValue(['id_record' => $id_record, 'id_module' => $id_module], $name);
|
||||
if (empty($campo)){
|
||||
if (empty($campo)) {
|
||||
$dbo->insert('zz_field_record', [
|
||||
'id_record' => $id_record,
|
||||
'id_field' => $key,
|
||||
|
||||
Reference in New Issue
Block a user