mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fix error from previous commit.
This commit is contained in:
parent
c5be343b72
commit
9d1e88ba13
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ class Scaffold {
|
|||
'title_for_layout', 'modelClass', 'primaryKey', 'displayField', 'singularVar', 'pluralVar',
|
||||
'singularHumanName', 'pluralHumanName', 'scaffoldFields', 'associations'
|
||||
));
|
||||
$this->set('title_for_layout', $title);
|
||||
$this->controller->set('title_for_layout', $title);
|
||||
|
||||
if ($this->controller->viewClass) {
|
||||
$this->controller->viewClass = 'Scaffold';
|
||||
|
|
Loading…
Add table
Reference in a new issue