Skip to content

Commit

Permalink
Fix for extending plugin's view
Browse files Browse the repository at this point in the history
Signed-off-by: mark_story <mark@mark-story.com>
  • Loading branch information
Stefano Zoffoli authored and markstory committed Feb 1, 2012
1 parent e8d3d7c commit edeca2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/View/View.php
Expand Up @@ -942,7 +942,7 @@ protected function _getViewFileName($name = null) {
$name = trim($name, DS);
} else if ($name[0] === '.') {
$name = substr($name, 3);
} else {
} elseif (!$plugin) {
$name = $this->viewPath . DS . $subDir . $name;
}
}
Expand Down

0 comments on commit edeca2f

Please sign in to comment.