Skip to content
Permalink
Browse files

Fix for extending plugin's view

Signed-off-by: mark_story <mark@mark-story.com>
  • Loading branch information...
Stefano Zoffoli authored and markstory committed Jan 31, 2012
1 parent e8d3d7c commit edeca2fd3ca2a7a158ff5b5d4f6e7aee46e841a8
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/View/View.php
@@ -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;
}
}

0 comments on commit edeca2f

Please sign in to comment.
You can’t perform that action at this time.