diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-08-06 14:40:23 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-08-06 14:40:23 +0200 |
commit | 89c026924bab191d668f9bd85152de9925f55fa7 (patch) | |
tree | 18deda74f4f389fdc7d3117cf77bec913a69f26e /include | |
parent | 4f0b1386924b52da59d0a4eedaae689173fe21da (diff) | |
download | volse-hubzilla-89c026924bab191d668f9bd85152de9925f55fa7.tar.gz volse-hubzilla-89c026924bab191d668f9bd85152de9925f55fa7.tar.bz2 volse-hubzilla-89c026924bab191d668f9bd85152de9925f55fa7.zip |
fix /cloud upload for images
Diffstat (limited to 'include')
-rw-r--r-- | include/attach.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php index 511f1b586..e15f08bd4 100644 --- a/include/attach.php +++ b/include/attach.php @@ -578,7 +578,7 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) { $pathname = filepath_macro($album); } } - else { + if(! $pathname) { $pathname = filepath_macro($upload_path); } |