diff options
author | Mario <mario@mariovavti.com> | 2021-01-06 19:22:29 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-01-06 19:22:29 +0000 |
commit | c7010dac3c74e25eac8855d87d78d892052d3c4e (patch) | |
tree | f558578c39e1583154c96952836288a01eb2984f /include/attach.php | |
parent | 99bfc3aaa0a54a0e8cac82a7d6d7fc8e49c046dd (diff) | |
download | volse-hubzilla-c7010dac3c74e25eac8855d87d78d892052d3c4e.tar.gz volse-hubzilla-c7010dac3c74e25eac8855d87d78d892052d3c4e.tar.bz2 volse-hubzilla-c7010dac3c74e25eac8855d87d78d892052d3c4e.zip |
simplify attach_folder_select_list()
Diffstat (limited to 'include/attach.php')
-rw-r--r-- | include/attach.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/attach.php b/include/attach.php index b4f697f81..bcb3061f4 100644 --- a/include/attach.php +++ b/include/attach.php @@ -2987,10 +2987,7 @@ function attach_folder_select_list($channel_id) { if($r) { foreach($r as $rv) { - $x = attach_folder_rpaths($r,$rv); - if($x) { - $out[$x[0]] = $x[1]; - } + $out[$rv['hash']] = $rv['display_path']; } } |