From 45149271285ea3515c3c1a7ea189609969c76748 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 8 Nov 2010 17:30:00 -0800 Subject: added search --- 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 97587cbb5..e1926bb56 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -990,7 +990,7 @@ function photos_content(&$a) { $drop = ''; - if(($item['contact-id'] == $_SESSION['visitor_id']) || ($item['uid'] == local_user())) + if(($item['contact-id'] == remote_user()) || ($item['uid'] == local_user())) $drop = replace_macros(load_view_file('view/wall_item_drop.tpl'), array('$id' => $item['id'])); -- cgit v1.2.3