From 8e7ea374a79e19f97a09f09631a0775639d8b3ea Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 8 Dec 2005 01:52:43 +0000 Subject: [PATCH] Avoid undefined variable error on null edits --- includes/Article.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Article.php b/includes/Article.php index 47d091fc7d..c87bdd5724 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1309,6 +1309,7 @@ class Article { $oldsize = strlen( $oldtext ); $newsize = strlen( $text ); $lastRevision = 0; + $revisionId = 0; if ( 0 != strcmp( $text, $oldtext ) ) { $this->mGoodAdjustment = $this->isCountable( $text ) -- 2.20.1