mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fixing code formatting in View
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3416 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
4de9ca6a6c
commit
6535c4936c
1 changed files with 2 additions and 2 deletions
|
@ -702,13 +702,13 @@ class View extends Object{
|
||||||
if (in_array($helper, array_keys($loaded)) !== true) {
|
if (in_array($helper, array_keys($loaded)) !== true) {
|
||||||
if (!class_exists($helperCn)) {
|
if (!class_exists($helperCn)) {
|
||||||
if (is_null($plugin) || !loadPluginHelper($plugin, $helper)) {
|
if (is_null($plugin) || !loadPluginHelper($plugin, $helper)) {
|
||||||
if (!loadHelper($helper)) {
|
if (!loadHelper($helper)) {
|
||||||
return $this->cakeError('missingHelperFile', array(array(
|
return $this->cakeError('missingHelperFile', array(array(
|
||||||
'helper' => $helper,
|
'helper' => $helper,
|
||||||
'file' => Inflector::underscore($helper) . '.php',
|
'file' => Inflector::underscore($helper) . '.php',
|
||||||
'base' => $this->base
|
'base' => $this->base
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!class_exists($helperCn)) {
|
if (!class_exists($helperCn)) {
|
||||||
return $this->cakeError('missingHelperClass', array(array(
|
return $this->cakeError('missingHelperClass', array(array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue