diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-07-16 21:23:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-16 21:23:29 -0400 |
commit | db2b6f12686c3d276915558d1df0bc5628575ee2 (patch) | |
tree | d21e1056f39cb86c39277947d41ba189186f46f0 | |
parent | 983ccef87c8784f9a4e517a11196a3dae2c4e905 (diff) | |
download | volse-hubzilla-db2b6f12686c3d276915558d1df0bc5628575ee2.tar.gz volse-hubzilla-db2b6f12686c3d276915558d1df0bc5628575ee2.tar.bz2 volse-hubzilla-db2b6f12686c3d276915558d1df0bc5628575ee2.zip |
Fixed whitescreen when creating folders via cloud files web interface
I'm getting a "not found" error when I try to create folders in the cloud files web interface. I click the "Create" button beside the "Upload" button, type a bland name for a new folder, and I get a white screen. Including the attach.php file fixes the bug.
Version 1.9.1+99354ac
-rw-r--r-- | Zotlabs/Storage/Directory.php | 1 |
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']) { |