Index: trunk/extensions/FlaggedRevs/forms/RevisionReviewForm.php |
— | — | @@ -642,7 +642,7 @@ |
643 | 643 | */ |
644 | 644 | public static function buildQuickReview( |
645 | 645 | User $user, FlaggedArticle $article, Revision $rev, |
646 | | - $refId = 0, $topNotice = '', $templateIDs, $imageSHA1Keys |
| 646 | + $refId = 0, $topNotice = '', array $templateIDs = null, array $imageSHA1Keys = null |
647 | 647 | ) { |
648 | 648 | global $wgOut, $wgLang, $wgParser, $wgEnableParserCache; |
649 | 649 | $id = $rev->getId(); |
— | — | @@ -745,7 +745,7 @@ |
746 | 746 | } |
747 | 747 | |
748 | 748 | # Do we need to get inclusion IDs from parser output? |
749 | | - if ( !$templateIDs || !$imageSHA1Keys ) { |
| 749 | + if ( $templateIDs === null || $imageSHA1Keys === null ) { |
750 | 750 | $pOutput = false; |
751 | 751 | # Current version: try parser cache |
752 | 752 | if ( $rev->isCurrent() ) { |