mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Fixing deprecated access to $this->data.
This commit is contained in:
parent
b82ad15c5e
commit
b6b4f4a3df
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@
|
|||
<?php endif; ?>
|
||||
}
|
||||
} else {
|
||||
$this->data = $this-><?php echo $currentModelName; ?>->read(null, $id);
|
||||
$this->request->data = $this-><?php echo $currentModelName; ?>->read(null, $id);
|
||||
}
|
||||
<?php
|
||||
foreach (array('belongsTo', 'hasAndBelongsToMany') as $assoc):
|
||||
|
|
Loading…
Add table
Reference in a new issue