Fixing a PHP warning about passing variables by reference from the function call...
authorRotem Liss <rotem@users.mediawiki.org>
Sun, 26 Nov 2006 19:01:56 +0000 (19:01 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Sun, 26 Nov 2006 19:01:56 +0000 (19:01 +0000)
includes/EditPage.php

index 482b415..bf24b84 100644 (file)
@@ -110,7 +110,7 @@ class EditPage {
                                        $oldrev_text = $oldrev->getText();
                                        $currev_text = $text;
        
-                                       $result = wfMerge($undorev_text, $oldrev_text, $currev_text, &$text);
+                                       $result = wfMerge($undorev_text, $oldrev_text, $currev_text, $text);
        
                                        if (!$result) {
                                                #Undoing failed. Bailing out with regular revision text.