From 2102ffc309744cb543ca5a308a1b4d2d3a5f63cf Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Mon, 6 Sep 2004 06:58:53 +0000 Subject: [PATCH] oops, register_globals security flaw --- includes/DatabasePostgreSQL.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/DatabasePostgreSQL.php b/includes/DatabasePostgreSQL.php index 45aaedee86..88af0dea31 100644 --- a/includes/DatabasePostgreSQL.php +++ b/includes/DatabasePostgreSQL.php @@ -63,6 +63,7 @@ class DatabasePgsql extends Database { if ( '' != $dbName ) { # start a database connection + $hstring=""; if ($server!=false && $server!="") { $hstring="host=$server "; } -- 2.20.1