From 6effd452486074b0826ae94482d7f7f520f20c84 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 14 Sep 2005 14:36:14 +0100 Subject: [PATCH] fix typo in db_connect() --- db.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/db.php b/db.php index 8614436b..a2614cbc 100644 --- a/db.php +++ b/db.php @@ -8,8 +8,7 @@ function db_connect($host, $user, $pass, $db) { $string = "dbname=$db user=$user password=$pass"; if ($host) { - - $stripng .= "host=$host"; + $string .= "host=$host"; } return pg_connect($string); -- 2.39.5