1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-29 09:11:11 +01:00

Fix lettura valori da campi personalizzati

This commit is contained in:
Beppe 2024-02-07 15:57:40 +01:00 committed by GitHub
parent 5c38f26f48
commit 305c772f80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -149,8 +149,6 @@ class FieldManager implements ManagerInterface
}
$query .= ' AND `zz_fields`.`name` = '.prepare($name);
$query .= ' AND `top` = '.((isset($options['position']) && $options['position'] == 'top') ? 1 : 0).' ORDER BY `order`';
$results = $database->fetchArray($query);
return $results[0]['value'];