From: Brion Vibber Date: Thu, 14 Sep 2006 17:08:46 +0000 (+0000) Subject: * (bug 7324) Fix error message for failure of Database::sourceFile() X-Git-Tag: 1.31.0-rc.0~55782 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=9f27c5e2a3a51e60b84ee38e4f9233386edbba25;p=lhc%2Fweb%2Fwiklou.git * (bug 7324) Fix error message for failure of Database::sourceFile() --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 0d83d14ba2..144ef9a8dd 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -204,6 +204,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN that force edits by non-bot users to bot mode * Set Vary: Cookie on action=raw generated CSS and JS, to ensure that user preferences don't get stuck in proxy caches for other people +* (bug 7324) Fix error message for failure of Database::sourceFile() == Languages updated == diff --git a/includes/Database.php b/includes/Database.php index afd08060ea..eaecc1a0ef 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -1902,7 +1902,7 @@ class Database { function sourceFile( $filename ) { $fp = fopen( $filename, 'r' ); if ( false === $fp ) { - return "Could not open \"{$fname}\".\n"; + return "Could not open \"{$filename}\".\n"; } $cmd = "";