aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/photos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 581c104a5..f29c39386 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -644,7 +644,7 @@ function photos_content(&$a) {
$owner_uid = $a->data['user']['uid'];
$community_page = (($a->data['user']['page-flags'] == PAGE_COMMUNITY) ? true : false);
-dbg(1);
+
if((local_user()) && (local_user() == $owner_uid))
$can_post = true;
else {