diff --git a/VoteHooks.php b/VoteHooks.php index 3c47be1..c1de3e9 100644 --- a/VoteHooks.php +++ b/VoteHooks.php @@ -200,7 +200,7 @@ class VoteHooks { * @return bool */ static function setupNumberOfVotesPageParser( &$parser ) { - $parser->setFunctionHook( 'NUMBEROFVOTESPAGE', 'VoteHooks::getNumberOfVotesPageParser', SFH_NO_HASH ); + $parser->setFunctionHook( 'NUMBEROFVOTESPAGE', 'VoteHooks::getNumberOfVotesPageParser', Parser::SFH_NO_HASH ); return true; }