From 43adabcd20ebd7b1792a4207913f426a9311c7bc Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Thu, 19 Aug 2010 17:23:13 -0700 Subject: multi-user fixes --- mod/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/photos.php') diff --git a/mod/photos.php b/mod/photos.php index 81f3614b3..bbc9c2df5 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -664,7 +664,7 @@ function photos_content(&$a) { dbesc($datum) ); if(count($i1)) { -//dbg(2); + $r = q("SELECT COUNT(*) AS `total` FROM `item` LEFT JOIN `contact` ON `contact`.`id` = `item`.`contact-id` WHERE `parent-uri` = '%s' AND `uri` != '%s' AND `item`.`deleted` = 0 -- cgit v1.2.3