mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Adding another import for helpers appended by RequestHandlerComponent.
Fixes #2084.
This commit is contained in:
parent
db51c0539a
commit
c4eb19ab91
1 changed files with 1 additions and 0 deletions
|
@ -553,6 +553,7 @@ class RequestHandlerComponent extends Component {
|
|||
);
|
||||
|
||||
if (!$isAdded) {
|
||||
App::uses('AppHelper', 'View/Helper');
|
||||
App::uses($helper . 'Helper', 'View/Helper');
|
||||
if (class_exists($helper . 'Helper')) {
|
||||
$controller->helpers[] = $helper;
|
||||
|
|
Loading…
Reference in a new issue