bug fix
authorTim Starling <tstarling@users.mediawiki.org>
Mon, 21 Jun 2004 07:49:19 +0000 (07:49 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Mon, 21 Jun 2004 07:49:19 +0000 (07:49 +0000)
includes/LoadBalancer.php

index a17e08d..1ff454a 100644 (file)
@@ -177,7 +177,7 @@ class LoadBalancer {
        {
                $c =& $this->getConnection( 0 );
                if ( $c === false || !$c->isOpen() ) {
-                       reportConnectionError( $conn );
+                       $this->reportConnectionError( $c );
                        $c = false;
                }
                return $c;