aboutsummaryrefslogtreecommitdiffstats
path: root/include/reddav.php
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2014-01-20 01:54:52 +0000
committerThomas Willingham <founder@kakste.com>2014-01-20 01:54:52 +0000
commit9fb36df8d981716a6557068b18ee364e62522180 (patch)
tree9dc15e7ebcbfa49a289a4d682605d966a058fe68 /include/reddav.php
parente9ce68559e7f552b6ef738eaf7f9025813eb82ad (diff)
downloadvolse-hubzilla-9fb36df8d981716a6557068b18ee364e62522180.tar.gz
volse-hubzilla-9fb36df8d981716a6557068b18ee364e62522180.tar.bz2
volse-hubzilla-9fb36df8d981716a6557068b18ee364e62522180.zip
Fix dav directory creation.
Diffstat (limited to 'include/reddav.php')
-rw-r--r--include/reddav.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/reddav.php b/include/reddav.php
index 838ead7b7..1658e43c4 100644
--- a/include/reddav.php
+++ b/include/reddav.php
@@ -190,8 +190,9 @@ class RedDirectory extends DAV\Node implements DAV\ICollection {
}
$r = q("select * from channel where channel_id = %d and not (channel_pageflags & %d) limit 1",
- intval(PAGE_REMOVED),
- intval($this->auth->owner_id)
+ intval($this->auth->owner_id),
+ intval(PAGE_REMOVED)
+
);
if($r) {