mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Sort tables before returning them.
This fixes unsorted table lists in the various bake related tasks. Fixes #2386
This commit is contained in:
parent
d97cf79545
commit
311189a662
1 changed files with 1 additions and 0 deletions
|
@ -940,6 +940,7 @@ class ModelTask extends BakeTask {
|
|||
$this->err(__d('cake_console', 'Your database does not have any tables.'));
|
||||
return $this->_stop();
|
||||
}
|
||||
sort($tables);
|
||||
return $tables;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue