fix /cloud upload for images

This commit is contained in:
Mario Vavti 2016-08-06 14:40:23 +02:00
parent 4f0b138692
commit 89c026924b

View File

@ -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);
}