From 9f27c5e2a3a51e60b84ee38e4f9233386edbba25 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 14 Sep 2006 17:08:46 +0000 Subject: [PATCH] * (bug 7324) Fix error message for failure of Database::sourceFile() --- RELEASE-NOTES | 1 + includes/Database.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 = ""; -- 2.20.1