Skip to content

Commit

Permalink
Fix minore
Browse files Browse the repository at this point in the history
  • Loading branch information
Pek5892 committed Sep 26, 2024
1 parent 688cc05 commit 959fbe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HTMLBuilder/Manager/FieldManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public function getValue($options, $name)
if (isset($options['place']) && $options['place'] == 'add') {
$query .= ' AND `on_add` = 1';
}
$query .= ' AND `zz_fields`.`title` = '.prepare($name);
$query .= ' AND `zz_fields`.`name` = '.prepare($name);

$results = $database->fetchArray($query);

Expand Down

0 comments on commit 959fbe8

Please sign in to comment.