Skip to content

Commit

Permalink
Fix undefined variable error.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 9, 2014
1 parent 6888361 commit 40ce297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Template/Error/missing_action.ctp
Expand Up @@ -28,7 +28,7 @@ if (!empty($prefix)) {
if (empty($plugin)) {
$path = APP_DIR . DS . 'Controller' . DS . $prefix . DS . h($controller) . '.php' ;
} else {
$path = Plugin::classPath($plugin) . 'Controller' . DS . $prefix . DS . h($class) . '.php';
$path = Plugin::classPath($plugin) . 'Controller' . DS . $prefix . DS . h($controller) . '.php';
}
?>
<h2><?= sprintf('Missing Method in %s', h($controller)); ?></h2> <p class="error">
Expand Down

0 comments on commit 40ce297

Please sign in to comment.