diff options
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); } |