aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-08-06 14:40:23 +0200
committerMario Vavti <mario@mariovavti.com>2016-08-06 14:40:23 +0200
commit89c026924bab191d668f9bd85152de9925f55fa7 (patch)
tree18deda74f4f389fdc7d3117cf77bec913a69f26e /include
parent4f0b1386924b52da59d0a4eedaae689173fe21da (diff)
downloadvolse-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.php2
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);
}