correct string comparison for layout
This commit is contained in:
parent
6a5f3739cc
commit
32af66a3e7
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@
|
|||
// LayoutName
|
||||
$fileName = ROOT.DS. \nre\configs\CoreConfig::getClassDir('views').DS. strtolower($layoutName).DS;
|
||||
// AgentName and Action
|
||||
if(strtolower($agentName) != $layoutName || !$isToplevel) {
|
||||
if(strtolower($agentName) != strtolower($layoutName) || !$isToplevel) {
|
||||
$fileName .= strtolower($agentName).DS.strtolower($action);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue