From: Ævar Arnfjörð Bjarmason Date: Mon, 15 Aug 2005 02:40:33 +0000 (+0000) Subject: * Fixed undefined variable error X-Git-Tag: 1.6.0~1972 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=1ef26168061d52933ed3971be38bbf1d891fff70;p=lhc%2Fweb%2Fwiklou.git * Fixed undefined variable error --- diff --git a/includes/SpecialUndelete.php b/includes/SpecialUndelete.php index 2c0c2ad094..a29fee3972 100644 --- a/includes/SpecialUndelete.php +++ b/includes/SpecialUndelete.php @@ -90,6 +90,8 @@ class PageArchive { * Get the text from an archive row containing ar_text, ar_flags and ar_text_id */ function getTextFromRow( $row ) { + $fname = 'PageArchive::getTextFromRow'; + if( is_null( $row->ar_text_id ) ) { // An old row from MediaWiki 1.4 or previous. // Text is embedded in this row in classic compression format.