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

This commit is contained in:
2007-12-16 02:03:24 +00:00
parent 07c9dc7ba3
commit e96bd0f059

View File

@@ -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;