From 1a76f1c65952af16be6f00cde9317b817028f1b6 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 17 Jan 2014 20:52:57 +0000 Subject: Un-break dav auth. --- include/reddav.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/reddav.php') 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 +} -- cgit v1.2.3