fix place on photo

This commit is contained in:
themohooks 2025-02-12 16:35:08 +03:00
parent 69706f7df6
commit 3078238206
2 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ class SearchController
{ {
public static function i() public static function i()
{ {
Page::set('Search'); Page::set('Search/Index');
} }

View file

@ -172,8 +172,8 @@ if ($photo->i('id') !== null) {
<table class="pwrite"> <table class="pwrite">
<tr> <tr>
<?php <?php
if ($photo->i('postbody') != null) { ?> if ($photo->i('place') != null) { ?>
<td class="nw" valign="top" align="right"><b><?= htmlspecialchars($photo->i('postbody')) ?></b></td> <td class="nw" valign="top" align="right"><b><?= htmlspecialchars($photo->i('place')) ?></b></td>
<?php } ?> <?php } ?>
</tr> </tr>