Fix dav directory creation.

This commit is contained in:
Thomas Willingham 2014-01-20 01:54:52 +00:00
parent e9ce68559e
commit 9fb36df8d9

View File

@ -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", $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) { if($r) {