diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-06-17 18:26:56 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-06-17 18:26:56 -0700 |
commit | 2963be60e53916c9c6d579745695a54800876f82 (patch) | |
tree | 87acafa554c318466f10eda49594224b3e454ffc /include | |
parent | 6ab20eb1b50da91ba35911fea8b09f2ef8e461fd (diff) | |
download | volse-hubzilla-2963be60e53916c9c6d579745695a54800876f82.tar.gz volse-hubzilla-2963be60e53916c9c6d579745695a54800876f82.tar.bz2 volse-hubzilla-2963be60e53916c9c6d579745695a54800876f82.zip |
more photos work
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 08aaccb4c..96ce83e2c 100644 --- a/include/attach.php +++ b/include/attach.php @@ -351,12 +351,12 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) { $album = (($arr) ? $arr['album'] : ''); $newalbum = (($arr) ? $arr['newalbum'] : ''); $hash = (($arr && $arr['hash']) ? $arr['hash'] : null); + $upload_path = (($arr && $arr['directory']) ? $arr['directory'] : ''); logger('arr: ' . print_r($arr,true)); // This is currently used only in mod/wall_attach - $str_contact_allow = perms2str(((is_array($arr['contact_allow'])) ? $arr['contact_allow'] : explode(',',$arr['contact_allow']))); if(! perm_is_allowed($channel_id,get_observer_hash(), 'write_storage')) { $ret['message'] = t('Permission denied.'); |