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
|
// LayoutName
|
||||||
$fileName = ROOT.DS. \nre\configs\CoreConfig::getClassDir('views').DS. strtolower($layoutName).DS;
|
$fileName = ROOT.DS. \nre\configs\CoreConfig::getClassDir('views').DS. strtolower($layoutName).DS;
|
||||||
// AgentName and Action
|
// AgentName and Action
|
||||||
if(strtolower($agentName) != $layoutName || !$isToplevel) {
|
if(strtolower($agentName) != strtolower($layoutName) || !$isToplevel) {
|
||||||
$fileName .= strtolower($agentName).DS.strtolower($action);
|
$fileName .= strtolower($agentName).DS.strtolower($action);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue