We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 878af04 commit 54c6ecbCopy full SHA for 54c6ecb
inc/menu.class.php
@@ -105,8 +105,8 @@ function getModelFromItem($item)
105
}
106
if ($DB->tableExists($modeltable)) {
107
$query = "SELECT `$modeltable`.`name` AS model
108
- FROM `$modeltable` WHERE
109
- `$modeltable`.`id` = " . $item->fields[$modelfield];
+ FROM `$modeltable`
+ WHERE `$modeltable`.`id` = " . $item->fields[$modelfield];
110
if ($resmodel = $DB->doQuery($query)) {
111
while ($rowModel = $DB->fetchAssoc($resmodel)) {
112
$typemodel = $rowModel["model"];
0 commit comments