issue #82 - args not defined (should be arr)

This commit is contained in:
redmatrix 2015-10-14 13:25:58 -07:00
parent 9b4d32b68c
commit b2d949ce9a

View File

@ -595,7 +595,7 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
} }
} }
else { else {
$folder_hash = ((array_key_exists('folder',$args)) ? $args['folder'] : ''); $folder_hash = ((($arr) && array_key_exists('folder',$arr)) ? $arr['folder'] : '');
} }
if((! $options) || ($options === 'import')) { if((! $options) || ($options === 'import')) {