Fix bug in error reporting for sql scripts
authorchriskl <chriskl>
Tue, 6 Dec 2005 08:41:26 +0000 (08:41 +0000)
committerchriskl <chriskl>
Tue, 6 Dec 2005 08:41:26 +0000 (08:41 +0000)
classes/Misc.php

index 59863cde7eb2d874d1f627b2443fe274fb90fa7b..f52c9987f356a2b371ee6c1fb87ff12fe46bbb5e 100644 (file)
@@ -2,7 +2,7 @@
        /**
         * Class to hold various commonly used functions
         *
-        * $Id: Misc.php,v 1.120 2005/11/29 15:13:50 jollytoad Exp $
+        * $Id: Misc.php,v 1.121 2005/12/06 08:41:26 chriskl Exp $
         */
         
        class Misc {
                 * Creates a database accessor
                 */
                function getDatabaseAccessor($database, $server_id = null) {
-                       global $lang, $conf, $misc;
+                       global $lang, $conf, $misc, $_connection;
                        
                        $server_info = $this->getServerInfo($server_id);