From: fabrixxm Date: Sat, 7 Nov 2015 11:21:54 +0000 (+0100) Subject: Use old style array declaration X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=80b62071e19c685d5b63144891820b328ce68831;p=friendica.git Use old style array declaration --- diff --git a/include/friendica_smarty.php b/include/friendica_smarty.php index 3c2dc7b915..99dc12bf8d 100644 --- a/include/friendica_smarty.php +++ b/include/friendica_smarty.php @@ -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'];