From: Wil Mahan Date: Wed, 22 Sep 2004 16:20:34 +0000 (+0000) Subject: Set $fname to prevent warning in edit conflicts X-Git-Tag: 1.5.0alpha1~1880 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=5188eebdf59c829e5c5a19c65f5fe1ec819c5e19;p=lhc%2Fweb%2Fwiklou.git Set $fname to prevent warning in edit conflicts --- diff --git a/includes/Article.php b/includes/Article.php index 64a4095401..402ca81468 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -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 );