diff options
author | Mario <mario@mariovavti.com> | 2021-01-06 19:22:29 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-01-06 20:33:59 +0100 |
commit | d80f2a621d47b372328743437871101ab0fbaa1d (patch) | |
tree | bdd80f73aec82bbdcbeed2ddddfd3ccb4ee79ea4 /include/attach.php | |
parent | 43b3922803fbfd81ee938e4d47e9163e32d088ea (diff) | |
download | volse-hubzilla-d80f2a621d47b372328743437871101ab0fbaa1d.tar.gz volse-hubzilla-d80f2a621d47b372328743437871101ab0fbaa1d.tar.bz2 volse-hubzilla-d80f2a621d47b372328743437871101ab0fbaa1d.zip |
simplify attach_folder_select_list()
(cherry picked from commit c7010dac3c74e25eac8855d87d78d892052d3c4e)
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']; } } |