Skip to content
Snippets Groups Projects
Commit 8d46bc42 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #2719 use pdo request

parent 8f64984e
No related branches found
No related tags found
No related merge requests found
...@@ -64,8 +64,8 @@ $db = new Database(); ...@@ -64,8 +64,8 @@ $db = new Database();
$stmt = $db->query( $stmt = $db->query(
"select l.item_id, e.entity_label, l.visible, l.viewed, l.item_mode, l.difflist_type from listinstance_history_details l, " "select l.item_id, e.entity_label, l.visible, l.viewed, l.item_mode, l.difflist_type from listinstance_history_details l, "
. ENT_ENTITIES . " e where l.listinstance_history_id = ?" . ENT_ENTITIES . " e where l.listinstance_history_id = ?"
. " and l.item_type = 'entity_id' and l.item_id = e.entity_id ",array($_REQUEST['listinstance_history_id']) . " and l.item_type = 'entity_id' and l.item_id = e.entity_id "
. "order by l.sequence " . "order by l.sequence ",array($_REQUEST['listinstance_history_id'])
); );
while ($res = $stmt->fetchObject()) { while ($res = $stmt->fetchObject()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment