oops, bug in untested error branch
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 17 Jan 2006 12:14:27 +0000 (12:14 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 17 Jan 2006 12:14:27 +0000 (12:14 +0000)
includes/Database.php

index 0f6c212..c4302e7 100644 (file)
@@ -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";
                                }