use correct quoting-character in sql-query
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -407,11 +407,11 @@ class ticket {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$upd_stmt = Database::prepare("
|
$upd_stmt = Database::prepare("
|
||||||
UPDATE `' . TABLE_PANEL_TICKET_CATS . '` SET
|
UPDATE `" . TABLE_PANEL_TICKET_CATS . "` SET
|
||||||
`name` = :name,
|
`name` = :name,
|
||||||
`logicalorder` = :lo
|
`logicalorder` = :lo
|
||||||
WHERE `id` = :id"
|
WHERE `id` = :id
|
||||||
);
|
");
|
||||||
Database::pexecute($upd_stmt, array('name' => $_category, 'lo' => $_order, 'id' => $_id));
|
Database::pexecute($upd_stmt, array('name' => $_category, 'lo' => $_order, 'id' => $_id));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user