aboutsummaryrefslogtreecommitdiffstats
path: root/mod/page.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-03 19:38:15 -0800
committerfriendica <info@friendica.com>2014-02-03 19:38:15 -0800
commit876f5d4de09f6215c3e65146460027d0dd244bc8 (patch)
tree2287b38af784719957788c01438d4c2ea8f0f197 /mod/page.php
parentc4d088459634d8148620a27c56ba06b33814668f (diff)
downloadvolse-hubzilla-876f5d4de09f6215c3e65146460027d0dd244bc8.tar.gz
volse-hubzilla-876f5d4de09f6215c3e65146460027d0dd244bc8.tar.bz2
volse-hubzilla-876f5d4de09f6215c3e65146460027d0dd244bc8.zip
transmit, receive, and parse bookmarks
Diffstat (limited to 'mod/page.php')
-rw-r--r--mod/page.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/page.php b/mod/page.php
index 56592116f..df17dbf52 100644
--- a/mod/page.php
+++ b/mod/page.php
@@ -38,7 +38,7 @@ function page_content(&$a) {
$channel_address = argv(1);
$page_id = argv(2);
-dbg(1);
+
$u = q("select channel_id from channel where channel_address = '%s' limit 1",
dbesc($channel_address)
);
@@ -63,7 +63,7 @@ dbg(1);
dbesc($page_id),
intval(ITEM_WEBPAGE)
);
-dbg(0);
+
if(! $r) {
// Check again with no permissions clause to see if it is a permissions issue