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
1 changed files with 0 additions and 2 deletions

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'];