From 305c772f808fbb63deaf940f30de9f7b8fb4859e Mon Sep 17 00:00:00 2001 From: Beppe <38595969+CJBeppe@users.noreply.github.com> Date: Wed, 7 Feb 2024 15:57:40 +0100 Subject: [PATCH] Fix lettura valori da campi personalizzati --- src/HTMLBuilder/Manager/FieldManager.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/HTMLBuilder/Manager/FieldManager.php b/src/HTMLBuilder/Manager/FieldManager.php index ac1e29817..7b3fde900 100755 --- a/src/HTMLBuilder/Manager/FieldManager.php +++ b/src/HTMLBuilder/Manager/FieldManager.php @@ -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'];