From 80b62071e19c685d5b63144891820b328ce68831 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Sat, 7 Nov 2015 12:21:54 +0100 Subject: [PATCH] Use old style array declaration --- include/friendica_smarty.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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']; -- 2.39.5