aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2014-01-17 20:52:57 +0000
committerThomas Willingham <founder@kakste.com>2014-01-17 20:52:57 +0000
commit1a76f1c65952af16be6f00cde9317b817028f1b6 (patch)
treecb759cafc137da48c81bd5cdf182d77e55af98cf /include
parent359d7980292490da370e49b5f3583d801157b5b7 (diff)
downloadvolse-hubzilla-1a76f1c65952af16be6f00cde9317b817028f1b6.tar.gz
volse-hubzilla-1a76f1c65952af16be6f00cde9317b817028f1b6.tar.bz2
volse-hubzilla-1a76f1c65952af16be6f00cde9317b817028f1b6.zip
Un-break dav auth.
Diffstat (limited to 'include')
-rw-r--r--include/reddav.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/reddav.php b/include/reddav.php
index c53838297..838ead7b7 100644
--- a/include/reddav.php
+++ b/include/reddav.php
@@ -101,8 +101,9 @@ class RedDirectory extends DAV\Node implements DAV\ICollection {
$c = 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(! $c) {
@@ -988,4 +989,4 @@ class RedBrowser extends DAV\Browser\Plugin {
}
-} \ No newline at end of file
+}