mirror of
https://github.com/jimeh/litemysql.git
synced 2026-02-19 04:46:39 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user