From 0996a43a27d8e3abec04c7090e60869cbb342140 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Tue, 17 Jan 2006 12:14:27 +0000 Subject: [PATCH] oops, bug in untested error branch --- includes/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Database.php b/includes/Database.php index 0f6c212d97..c4302e7602 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -1688,7 +1688,7 @@ class Database { $res = $this->query( $cmd, 'dbsource', true ); if ( false === $res ) { - $err = $this->mLastError(); + $err = $this->lastError(); return "Query \"{$cmd}\" failed with error code \"$err\".\n"; } -- 2.20.1