Update src/Database/View.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
7e6a9bd893
commit
eb48a36061
|
@ -168,10 +168,10 @@ class View
|
|||
$status = DBA::selectFirst(['INFORMATION_SCHEMA' => 'TABLES'], ['TABLE_TYPE'],
|
||||
['TABLE_SCHEMA' => DBA::databaseName(), 'TABLE_NAME' => $table]);
|
||||
|
||||
if (empty($status['TABLE_TYPE'])) {
|
||||
return false;
|
||||
}
|
||||
if (empty($status['TABLE_TYPE'])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return $status['TABLE_TYPE'] == 'BASE TABLE';
|
||||
return $status['TABLE_TYPE'] == 'BASE TABLE';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user