* fix bug for install when ztv_ and undelete.

This commit is contained in:
wangyidong
2015-08-07 09:09:19 +08:00
parent 5d799fba83
commit f583369235
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -382,6 +382,7 @@ class installModel extends model
if(strpos($table, '--') === 0) continue;
$table = str_replace('`zt_', $this->config->db->name . '.`zt_', $table);
$table = str_replace('`ztv_', $this->config->db->name . '.`ztv_', $table);
$table = str_replace('zt_', $this->config->db->prefix, $table);
if(!$this->dbh->query($table)) return false;
}