Commit ca4cb4fd authored by Reto Da Forno's avatar Reto Da Forno
Browse files

only display test IDs that belong to the user

parent 41b9f7ec
......@@ -123,6 +123,7 @@
LEFT JOIN `tbl_serv_tests`
ON (`test_fk` = `tbl_serv_tests`.`serv_tests_key`)
WHERE (`tbl_serv_targetimages`.`owner_fk` = " . $_SESSION['serv_users_key'] . ")
AND (`tbl_serv_tests`.`owner_fk` = " . $_SESSION['serv_users_key'] . ")
AND (`tbl_serv_targetimages`.`binary_hash_sha1` is not NULL)
GROUP BY `serv_targetimages_key`
ORDER BY `serv_targetimages_key` DESC";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment