Skip to content

Commit ab5c794

Browse files
committed
removed table prefix call which was missing.
1 parent 1e3869a commit ab5c794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class.DBPDO.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function connect(){
4040

4141
function table_exists($table_name){
4242
$stmt = $this->prep_query('SHOW TABLES LIKE ?');
43-
$stmt->execute(array($this->add_table_prefix($table_name)));
43+
$stmt->execute(array($table_name));
4444
return $stmt->rowCount() > 0;
4545
}
4646

0 commit comments

Comments
 (0)