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'] . ' ] ';