Fix dell'aggiornamento (#97)
This commit is contained in:
parent
febaa5ca3c
commit
189dcc7c3a
|
@ -92,7 +92,7 @@ $tables = [
|
|||
|
||||
foreach ($tables as $table) {
|
||||
if ($database->fetchNum('SHOW TABLES WHERE `Tables_in_'.$database->getDatabaseName().'` = '.prepare($table))) {
|
||||
$query = 'SHOW COLUMNS FROM '.$table.' FROM '.$database->getDatabaseName()." WHERE Field='|field|'";
|
||||
$query = 'SHOW COLUMNS FROM `'.$table.'` IN `'.$database->getDatabaseName()."` WHERE Field='|field|'";
|
||||
|
||||
$created_at = $database->fetchArray(str_replace('|field|', 'created_at', $query));
|
||||
if (empty($created_at)) {
|
||||
|
|
Loading…
Reference in New Issue