aboutsummaryrefslogtreecommitdiffstats
path: root/mod/page.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-15 03:12:47 -0800
committerfriendica <info@friendica.com>2014-01-15 03:12:47 -0800
commit47b8071ca7968ea489bd00c0746a2be39d6a6f2d (patch)
tree9c817b18bffb1d4cdedf081a419901fbb1715810 /mod/page.php
parent362e4060e19e910a50886b660532dd35fd0385bb (diff)
downloadvolse-hubzilla-47b8071ca7968ea489bd00c0746a2be39d6a6f2d.tar.gz
volse-hubzilla-47b8071ca7968ea489bd00c0746a2be39d6a6f2d.tar.bz2
volse-hubzilla-47b8071ca7968ea489bd00c0746a2be39d6a6f2d.zip
dav: throw exception if channel for requested DAV directory is deleted
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 df17dbf52..56592116f 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 @@ function page_content(&$a) {
dbesc($page_id),
intval(ITEM_WEBPAGE)
);
-
+dbg(0);
if(! $r) {
// Check again with no permissions clause to see if it is a permissions issue