fix /cloud upload for images
This commit is contained in:
parent
4f0b138692
commit
89c026924b
@ -578,7 +578,7 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
|
|||||||
$pathname = filepath_macro($album);
|
$pathname = filepath_macro($album);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
if(! $pathname) {
|
||||||
$pathname = filepath_macro($upload_path);
|
$pathname = filepath_macro($upload_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user