mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
correcting order
This commit is contained in:
parent
62dee78ca5
commit
bed5453be0
1 changed files with 4 additions and 3 deletions
|
@ -254,11 +254,12 @@ class CakeSchema extends Object {
|
|||
continue;
|
||||
}
|
||||
|
||||
$fulltable = $table = $db->fullTableName($Object, false, false);
|
||||
if ($prefix && strpos($table, $prefix) !== 0) {
|
||||
if (!is_object($Object) || $Object->useTable === false) {
|
||||
continue;
|
||||
}
|
||||
if (!is_object($Object) || $Object->useTable === false) {
|
||||
|
||||
$fulltable = $table = $db->fullTableName($Object, false, false);
|
||||
if ($prefix && strpos($table, $prefix) !== 0) {
|
||||
continue;
|
||||
}
|
||||
if (!in_array($fulltable, $currentTables)) {
|
||||
|
|
Loading…
Reference in a new issue