From ad5794499b015983204906723372e716a914e9ad Mon Sep 17 00:00:00 2001 From: raylu Date: Fri, 8 Jul 2011 09:49:39 -0700 Subject: casing fix in search controller and whitespace in layout --- controllers/SearchController.php | 4 ++-- views/layouts/default.html.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/controllers/SearchController.php b/controllers/SearchController.php index f09f446..8deaf07 100644 --- a/controllers/SearchController.php +++ b/controllers/SearchController.php @@ -38,7 +38,7 @@ class SearchController extends \lithium\action\Controller { 'episode_count' => 'Episodes', 'view_type' => 'Type', 'mal_score' => 'MAL Score'); - case 'kdrama': + case 'Kdrama': case 'Kdrama': $headers = array('title' => 'Title', 'episode_count' => 'Episodes'); @@ -54,4 +54,4 @@ class SearchController extends \lithium\action\Controller { return array('content' => $search['content'], 'page' => $search['page'], 'headers' => $headers, 'total' => $search['total'], 'limit' => $search['limit']); } } -} \ No newline at end of file +} diff --git a/views/layouts/default.html.php b/views/layouts/default.html.php index a81dbe8..d74fd88 100644 --- a/views/layouts/default.html.php +++ b/views/layouts/default.html.php @@ -66,7 +66,7 @@ use \lithium\security\Auth;
- content() ?> + content() ?>