diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-08-19 17:23:13 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-08-19 17:23:13 -0700 |
commit | 43adabcd20ebd7b1792a4207913f426a9311c7bc (patch) | |
tree | a5d773edde5d3e6c8956f4ca79d2e44fdcdbe3d5 /mod/photos.php | |
parent | adad23a0ea647dfc942751a6548bbee7901abb10 (diff) | |
download | volse-hubzilla-43adabcd20ebd7b1792a4207913f426a9311c7bc.tar.gz volse-hubzilla-43adabcd20ebd7b1792a4207913f426a9311c7bc.tar.bz2 volse-hubzilla-43adabcd20ebd7b1792a4207913f426a9311c7bc.zip |
multi-user fixes
Diffstat (limited to 'mod/photos.php')
-rw-r--r-- | mod/photos.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 |