]> git.mxchange.org Git - friendica.git/commitdiff
Use old style array declaration
authorfabrixxm <fabrix.xm@gmail.com>
Sat, 7 Nov 2015 11:21:54 +0000 (12:21 +0100)
committerfabrixxm <fabrix.xm@gmail.com>
Sat, 7 Nov 2015 11:21:54 +0000 (12:21 +0100)
include/friendica_smarty.php

index 3c2dc7b9150e242b56b363ab62bf1c8c57365917..99dc12bf8d9a27c96d6a2b79bed01e9939ad2aa0 100644 (file)
@@ -62,10 +62,10 @@ class FriendicaSmartyEngine implements ITemplateEngine {
                }
 
                // "middleware": inject variables into templates
-               $arr = [
+               $arr = array(
                        "template"=> basename($s->filename),
                        "vars" => $r
-               ];
+               );
                call_hooks("template_vars", $arr);
                $r = $arr['vars'];