aboutsummaryrefslogtreecommitdiff
path: root/app/layout/layout.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-13 15:42:53 +0200
committerGravatar GitHub <noreply@github.com> 2016-08-13 15:42:53 +0200
commit97efdcac1e38c568b6be313120694e7201d4c69c (patch)
treedf2bc58e3dc5681049b5da96b44f406e5df94fa8 /app/layout/layout.phtml
parent40f1873de790b28890d65263ec1f8426121ae951 (diff)
parent02d1d66235d9ca5dd71929c76a1ecec94cf14f3d (diff)
Merge pull request #1209 from Alkarex/php5.3-closure
PHP 5.3 compatibility for callback
Diffstat (limited to 'app/layout/layout.phtml')
-rw-r--r--app/layout/layout.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index 7fdc01241..2aeba40a9 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -23,7 +23,7 @@
<?php
flush();
if (isset($this->callbackBeforeContent)) {
- call_user_func($this->callbackBeforeContent);
+ call_user_func($this->callbackBeforeContent, $this);
}
?>
<?php echo self::headTitle(); ?>