aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhubzilla <git@macgirvin.com>2016-07-17 19:40:26 +1000
committerGitHub <noreply@github.com>2016-07-17 19:40:26 +1000
commit2d4b75428a87038b9a637bf49fc0a91c91b392fb (patch)
treed21e1056f39cb86c39277947d41ba189186f46f0
parent983ccef87c8784f9a4e517a11196a3dae2c4e905 (diff)
parentdb2b6f12686c3d276915558d1df0bc5628575ee2 (diff)
downloadvolse-hubzilla-2d4b75428a87038b9a637bf49fc0a91c91b392fb.tar.gz
volse-hubzilla-2d4b75428a87038b9a637bf49fc0a91c91b392fb.tar.bz2
volse-hubzilla-2d4b75428a87038b9a637bf49fc0a91c91b392fb.zip
Merge pull request #452 from anaqreon/patch-1
Fixed whitescreen when creating folders via cloud files web interface
-rw-r--r--Zotlabs/Storage/Directory.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Storage/Directory.php b/Zotlabs/Storage/Directory.php
index 06ae90a5f..0ccd9da47 100644
--- a/Zotlabs/Storage/Directory.php
+++ b/Zotlabs/Storage/Directory.php
@@ -369,6 +369,7 @@ class Directory extends DAV\Node implements DAV\ICollection, DAV\IQuota {
);
if ($r) {
+ require_once('include/attach.php');
$result = attach_mkdir($r[0], $this->auth->observer, array('filename' => $name, 'folder' => $this->folder_hash));
if($result['success']) {