Set $fname to prevent warning in edit conflicts
authorWil Mahan <wmahan@users.mediawiki.org>
Wed, 22 Sep 2004 16:20:34 +0000 (16:20 +0000)
committerWil Mahan <wmahan@users.mediawiki.org>
Wed, 22 Sep 2004 16:20:34 +0000 (16:20 +0000)
includes/Article.php

index 64a4095..402ca81 100644 (file)
@@ -940,9 +940,10 @@ class Article {
 
 
        /**
-        * Side effects: loads last edit
+        * Side effects: loads last edit if $edittime is NULL
         */
        function getTextOfLastEditWithSectionReplacedOrAdded($section, $text, $summary = '', $edittime = NULL) {
+               $fname = 'Article::getTextOfLastEditWithSectionReplacedOrAdded';
                if(is_null($edittime)) {
                        $this->loadLastEdit();
                        $oldtext = $this->getContent( true );