mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing bug in RequestHandler that was preventing the helper related to content type to be loaded correctly
This commit is contained in:
parent
2371ed9f15
commit
b62c8d8ee2
1 changed files with 1 additions and 1 deletions
|
@ -541,7 +541,7 @@ class RequestHandlerComponent extends Component {
|
|||
);
|
||||
|
||||
if (!$isAdded) {
|
||||
App::uses($helper . 'Helper', 'Helper');
|
||||
App::uses($helper . 'Helper', 'View/Helper');
|
||||
if (class_exists($helper . 'Helper')) {
|
||||
$controller->helpers[] = $helper;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue