summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchriskl2005-12-06 08:43:17 +0000
committerchriskl2005-12-06 08:43:17 +0000
commit4d31ae04e3be9d8f54e53fa788e865b72395c13d (patch)
tree1f097d5ea39a7054d21248763beffc41e4e2151f
parent875245a95246f816dc6d9043c17138db158edcdb (diff)
Backport: Fix bug in error reporting for sql scripts
-rw-r--r--HISTORY6
-rw-r--r--classes/Misc.php4
2 files changed, 8 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 539d91b2..3d9d4ed3 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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);