Fixing incorrectly named variable. Refs #567

This commit is contained in:
Mark Story 2010-04-20 22:18:17 -04:00
parent 5ceb19304e
commit 9053291fe4

View file

@ -67,7 +67,7 @@ class PagesController extends AppController {
if (!$count) {
$this->redirect('/');
}
$page = $subpage = $title = null;
$page = $subpage = $title_for_layout = null;
if (!empty($path[0])) {
$page = $path[0];