multi-user fixes
This commit is contained in:
parent
adad23a0ea
commit
43adabcd20
3 changed files with 34 additions and 31 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue