diff options
-rw-r--r-- | it_dbi.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class index 709ddee..aa88487 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -113,7 +113,7 @@ function createclasses($p = array()) for ($res = $dbi->query('SHOW TABLES'); $row = mysql_fetch_row($res);) { # Either create class in autoloader or manually just below - if (!class_exists($row[0])) + if (!class_exists($p['classprefix'] . $row[0])) it_dbi::createclass(array('table' => $row[0]) + $p); } } |