diff options
Diffstat (limited to 'include/reddav.php')
-rw-r--r-- | include/reddav.php | 5 |
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) { |