Silence notice error by setting talk variable explicitly to blank when not moving...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 27 Apr 2005 20:24:51 +0000 (20:24 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 27 Apr 2005 20:24:51 +0000 (20:24 +0000)
includes/SpecialMovepage.php

index 7a86dbe..28678e2 100644 (file)
@@ -240,6 +240,9 @@ class MovePageForm {
                        } else {
                                $talkmoved = $error;
                        }
+               } else {
+                       # Stay silent on the subject of talk.
+                       $talkmoved = '';
                }
                
                # Give back result to user.