From 7cec1bbfdfc1571797bc368d815e7d8f7d63ecd0 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 9 Mar 2014 09:25:57 +0100 Subject: [PATCH] Removed another "limit 1" --- include/Photo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Photo.php b/include/Photo.php index f1c9128d36..45164333dd 100644 --- a/include/Photo.php +++ b/include/Photo.php @@ -595,7 +595,7 @@ class Photo { `allow_gid` = '%s', `deny_cid` = '%s', `deny_gid` = '%s' - where id = %d limit 1", + where id = %d", intval($uid), intval($cid), -- 2.39.5