diff options
author | chriskl | 2005-12-06 08:43:17 +0000 |
---|---|---|
committer | chriskl | 2005-12-06 08:43:17 +0000 |
commit | 4d31ae04e3be9d8f54e53fa788e865b72395c13d (patch) | |
tree | 1f097d5ea39a7054d21248763beffc41e4e2151f | |
parent | 875245a95246f816dc6d9043c17138db158edcdb (diff) |
Backport: Fix bug in error reporting for sql scripts
-rw-r--r-- | HISTORY | 6 | ||||
-rw-r--r-- | classes/Misc.php | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,6 +1,12 @@ phpPgAdmin History ------------------ +Version 4.0.2 +------------- + +Bugs +* Fix error reporting during SQL script execution + Version 4.0.1 ------------- diff --git a/classes/Misc.php b/classes/Misc.php index b094a466..4a6d4d35 100644 --- a/classes/Misc.php +++ b/classes/Misc.php @@ -2,7 +2,7 @@ /** * Class to hold various commonly used functions * - * $Id: Misc.php,v 1.113.2.3 2005/11/19 09:17:23 chriskl Exp $ + * $Id: Misc.php,v 1.113.2.4 2005/12/06 08:43:17 chriskl Exp $ */ class Misc { @@ -254,7 +254,7 @@ * 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); |