exists($categoryKey)) { Log::set(__METHOD__.LOG_SEP.'Error occurred when trying to get the category: '.$categoryKey); Redirect::page('categories'); } $categoryMap = $categories->getMap($categoryKey); // Title of the page $layout['title'] .= ' - '.$language->g('Edit Category').' [ '.$categoryMap['name'] . ' ] ';