aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-14 13:25:58 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-10-14 13:25:58 -0700
commitb2d949ce9a499653bba833913084b0c1406cca7f (patch)
tree16aa6740987c78ed34438dbbd7b542a6edfbb406 /include
parent9b4d32b68c6f540be0bebb38883aaa002c34d0f2 (diff)
downloadvolse-hubzilla-b2d949ce9a499653bba833913084b0c1406cca7f.tar.gz
volse-hubzilla-b2d949ce9a499653bba833913084b0c1406cca7f.tar.bz2
volse-hubzilla-b2d949ce9a499653bba833913084b0c1406cca7f.zip
issue #82 - args not defined (should be arr)
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 0ed1690ec..fc95e3a75 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -595,7 +595,7 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
}
}
else {
- $folder_hash = ((array_key_exists('folder',$args)) ? $args['folder'] : '');
+ $folder_hash = ((($arr) && array_key_exists('folder',$arr)) ? $arr['folder'] : '');
}
if((! $options) || ($options === 'import')) {