Index: trunk/extensions/FlaggedRevs/dataclasses/FlaggedRevs.class.php |
— | — | @@ -630,7 +630,7 @@ |
631 | 631 | ); |
632 | 632 | } |
633 | 633 | # Update template/file version cache... |
634 | | - if ( $sv->getRevId() != $editInfo->revid ) { |
| 634 | + if ( $editInfo && $sv->getRevId() != $editInfo->revid ) { |
635 | 635 | FRInclusionCache::setRevIncludes( $title, $editInfo->revid, $editInfo->output ); |
636 | 636 | } |
637 | 637 | } |