Skip to content

Commit d88f510

Browse files
Robertbenkeen
Robert
authored andcommitted
Update Views.class.php
Switches $form_id to :form_id in binding
1 parent 0099ee4 commit d88f510

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/global/code/Views.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ public static function getFormViews($form_id, $account_id = "")
908908
$db->query("
909909
SELECT *
910910
FROM {PREFIX}views v, {PREFIX}list_groups lg
911-
WHERE v.form_id = $form_id AND
911+
WHERE v.form_id = :form_id AND
912912
v.group_id = lg.group_id
913913
ORDER BY lg.list_order, v.view_order
914914
");

0 commit comments

Comments
 (0)