summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ribbon_body.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ribbon_body.php b/Ribbon_body.php
index e687495..e7faf5f 100644
--- a/Ribbon_body.php
+++ b/Ribbon_body.php
@@ -4,7 +4,7 @@ class Ribbon {
static $content;
- function onParserInit( Parser $parser ) {
+ static function onParserInit( Parser $parser ) {
$parser->setHook( 'ribbon', array( __CLASS__, 'renderRibbon' ) );
return true;