diff options
author | Klaus <Klaus.Weidenbach@gmx.net> | 2014-10-12 21:10:04 +0200 |
---|---|---|
committer | Klaus <Klaus.Weidenbach@gmx.net> | 2014-10-12 21:10:04 +0200 |
commit | 5aae5862f285d9340b37abfb3c390c2816692c6d (patch) | |
tree | a70231d63a857a6577a494fde029ed837496fa2e /mod | |
parent | dc4593f5b54112093c94cc2ea39a4f2d138c1432 (diff) | |
download | volse-hubzilla-5aae5862f285d9340b37abfb3c390c2816692c6d.tar.gz volse-hubzilla-5aae5862f285d9340b37abfb3c390c2816692c6d.tar.bz2 volse-hubzilla-5aae5862f285d9340b37abfb3c390c2816692c6d.zip |
A fix, but I have no case to verify.
I could not find out under which conditions this is relevant and therefore have no test case, but it must be of instance RedDAV\RedFile.
Diffstat (limited to 'mod')
-rw-r--r-- | mod/cloud.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/cloud.php b/mod/cloud.php index a8875fd29..27724f6b0 100644 --- a/mod/cloud.php +++ b/mod/cloud.php @@ -117,7 +117,7 @@ function cloud_init(&$a) { if ((! $auth->observer) && ($_SERVER['REQUEST_METHOD'] === 'GET')) { try { $x = RedFileData('/' . $a->cmd, $auth); - if($x instanceof RedFile) + if($x instanceof RedDAV\RedFile) $isapublic_file = true; } catch (Exception $e) { @@ -150,4 +150,4 @@ function cloud_init(&$a) { $server->exec(); killme(); -}
\ No newline at end of file +} |