File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ public function mapData($data)
105105 if (!empty ($ item ['domain_path ' ])) {
106106 $ preparedData [$ i ]['bf_titre ' ] = $ item ['name ' ];
107107 $ preparedData [$ i ]['yunohost_app_id ' ] = $ item ['settings ' ]['app ' ];
108- $ preparedData [$ i ]['bf_description ' ] = $ item ['manifest ' ]['description ' ][$ this ->config ['lang ' ]];
108+ $ preparedData [$ i ]['bf_description ' ] = $ item ['manifest ' ]['description ' ][$ this ->config ['lang ' ]] ?? $ item [ ' manifest ' ][ ' description ' ][ ' en ' ] ?? '' ;
109109 if (!empty ($ item ['permissions ' ][$ item ['settings ' ]['app ' ] . '.main ' ]['allowed ' ])) {
110110 $ preparedData [$ i ]['listeListeVisibilite ' ] = in_array ('visitors ' , $ item ['permissions ' ][$ item ['settings ' ]['app ' ] . '.main ' ]['allowed ' ]) ? 'pub ' : 'priv ' ;
111111 } else {
You can’t perform that action at this time.
0 commit comments