diff --git a/app/Controllers/SearchController.php b/app/Controllers/SearchController.php index fcf1dcb..86c5cda 100644 --- a/app/Controllers/SearchController.php +++ b/app/Controllers/SearchController.php @@ -9,7 +9,7 @@ class SearchController { public static function i() { - Page::set('Search'); + Page::set('Search/Index'); } diff --git a/views/pages/Photo.php b/views/pages/Photo.php index bb63026..ea2b22a 100644 --- a/views/pages/Photo.php +++ b/views/pages/Photo.php @@ -172,8 +172,8 @@ if ($photo->i('id') !== null) {
= htmlspecialchars($photo->i('postbody')) ?> | + if ($photo->i('place') != null) { ?> += htmlspecialchars($photo->i('place')) ?> |