mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Applying patch of ticket #2560
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5040 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
6e4f66555d
commit
4513007f35
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ class Scaffold extends Object {
|
|||
$this->controller->set('viewPath', $this->viewPath);
|
||||
$this->controller->set('humanSingularName', Inflector::humanize($this->modelKey));
|
||||
$this->controller->set('humanPluralName', Inflector::humanize($this->viewPath));
|
||||
$alias = null;
|
||||
$alias = array();
|
||||
if(!empty($this->ScaffoldModel->alias)) {
|
||||
$alias = array_combine(array_keys($this->ScaffoldModel->alias), array_keys($this->ScaffoldModel->alias));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue