From e96bd0f059cbfc6f1285b2a996b45a457edbe60e Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 16 Dec 2007 02:03:24 +0000 Subject: [PATCH] fixed a typo which caused a syntax error! omfg i shouldn't do this shit at 4am, i forgot to test at all before i tagged 1.0.2... lol :P --- litemysql.lib.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/litemysql.lib.php b/litemysql.lib.php index 5ca380a..9e45597 100644 --- a/litemysql.lib.php +++ b/litemysql.lib.php @@ -219,7 +219,6 @@ class LiteMySQL { if ( $username !== null ) $this->username = $username; if ( $password !== null ) $this->password = $password; if ( $database !== null ) $this->database = $database; - // if ( $table !== null ) $this->table = $table; if ( $this->host !== null ) { @@ -243,11 +242,11 @@ class LiteMySQL { if ( $this->resource !== false ) { $this->connected = true; if ( $this->database !== null ) $this->select_db($this->database); - if ( $table !== null ) { $this->select_table($table); + if ( $table !== null ) $this->select_table($table); return true; } } - + } return false;