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) { i('postbody') != null) { ?> - + if ($photo->i('place') != null) { ?> + @@ -197,7 +197,7 @@ if ($photo->i('id') !== null) {
content('comment') != null) { ?> + if ($photo->content('comment') != null) { ?>
content('comment')) ?>

i('postbody')) ?>i('place')) ?>