From 2963be60e53916c9c6d579745695a54800876f82 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 17 Jun 2015 18:26:56 -0700 Subject: more photos work --- include/attach.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/attach.php') 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.'); -- cgit v1.2.3