aboutsummaryrefslogtreecommitdiff
path: root/app/layout/layout.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-12 22:56:02 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-12 22:56:02 +0200
commita6071a0d9824908ea48099a66435d70d74b9b1b8 (patch)
treef19985f544bf84234b5d1f85df811107293a0e2f /app/layout/layout.phtml
parent40f1873de790b28890d65263ec1f8426121ae951 (diff)
PHP 5.3 compatibility for callback
https://github.com/FreshRSS/FreshRSS/issues/1208
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(); ?>