]> git.mxchange.org Git - friendica.git/blobdiff - mod/opensearch.php
Fixes:
[friendica.git] / mod / opensearch.php
index c61f4674b18757959d0de0854c953ea85ccbfad8..8a427908bc244277bfca2e10c7602102b5151bf4 100644 (file)
@@ -9,10 +9,10 @@ function opensearch_content(App $a) {
 
        header("Content-type: application/opensearchdescription+xml");
 
-       $o = replace_macros($tpl, array(
+       $o = replace_macros($tpl, [
                '$baseurl' => System::baseUrl(),
                '$nodename' => $a->get_hostname(),
-       ));
+       ]);
 
        echo $o;