aboutsummaryrefslogtreecommitdiffstats
path: root/include/attach.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-06-02 19:10:53 +0000
committerMario <mario@mariovavti.com>2023-06-02 19:10:53 +0000
commit11a2419c22693fd1546ade79c0b5fa3a9aea9dfd (patch)
tree20b5bef91d080e18f15233316c016c0df0e915cd /include/attach.php
parentf3420c0adbd6dfb30b435924e345d507d6074154 (diff)
downloadvolse-hubzilla-11a2419c22693fd1546ade79c0b5fa3a9aea9dfd.tar.gz
volse-hubzilla-11a2419c22693fd1546ade79c0b5fa3a9aea9dfd.tar.bz2
volse-hubzilla-11a2419c22693fd1546ade79c0b5fa3a9aea9dfd.zip
fix wrong array key
Diffstat (limited to 'include/attach.php')
-rw-r--r--include/attach.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php
index 4465a67fe..1de5f5a67 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -974,7 +974,7 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
$args = array( 'source' => $source, 'visible' => $visible, 'resource_id' => $hash, 'album' => $pathname, 'os_syspath' => $os_basepath . $os_relpath, 'os_path' => $os_path, 'display_path' => $display_path, 'filename' => $filename, 'getimagesize' => $gis, 'directory' => $direct, 'options' => $options );
if (array_key_exists('contact_allow', $arr))
$args['contact_allow'] = $arr['contact_allow'];
- if (array_key_exists('contact_deny', $arr))
+ if (array_key_exists('group_allow', $arr))
$args['group_allow'] = $arr['group_allow'];
if (array_key_exists('contact_deny', $arr))
$args['contact_deny'] = $arr['contact_deny'];