diff options
author | Andrew Dolgov <[email protected]> | 2005-09-14 14:36:14 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-09-14 14:36:14 +0100 |
commit | 6effd452486074b0826ae94482d7f7f520f20c84 (patch) | |
tree | 8f9fae3b3221bcdbc3050c1a42a179a30b8b55fa | |
parent | 6b3bce8abb502778b813f01dac10bbb7d61b4922 (diff) |
fix typo in db_connect()
-rw-r--r-- | db.php | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |