From: Tim Starling Date: Tue, 17 Jan 2006 12:14:27 +0000 (+0000) Subject: oops, bug in untested error branch X-Git-Tag: 1.6.0~499 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=0996a43a27d8e3abec04c7090e60869cbb342140;p=lhc%2Fweb%2Fwiklou.git oops, bug in untested error branch --- 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"; }