mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-06-01 20:33:33 +00:00
Fixing incorrect method call from merge with 1.3
This commit is contained in:
parent
db1acb461a
commit
c6a63bae82
1 changed files with 1 additions and 1 deletions
|
@ -812,7 +812,7 @@ class Controller extends Object {
|
|||
*/
|
||||
public function render($action = null, $layout = null, $file = null) {
|
||||
$this->beforeRender();
|
||||
$this->Components->triggerCallback('beforeRender', $this);
|
||||
$this->Components->trigger('beforeRender', array(&$this));
|
||||
|
||||
$viewClass = $this->view;
|
||||
if ($this->view != 'View') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue