mirror of
https://github.com/WerySkok/nativegallery.git
synced 2024-12-22 16:41:17 +03:00
Update Photo.php
This commit is contained in:
parent
84b37f6ab2
commit
7b10549afc
1 changed files with 1 additions and 2 deletions
|
@ -149,7 +149,6 @@ if ($photo->i('id') !== null) {
|
|||
if ($photo->i('postbody') != null) { ?>
|
||||
<td class="nw" valign="top" align="right"><b><?= htmlspecialchars($photo->i('postbody')) ?></b></td>
|
||||
<?php } ?>
|
||||
<td class="nw" align="left" valign="top"></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
@ -162,7 +161,7 @@ if ($photo->i('id') !== null) {
|
|||
<?php } ?>
|
||||
</div><br>
|
||||
<?php
|
||||
if ($photo->i('posted_at') === 943909200) {
|
||||
if ($photo->i('posted_at') === 943909200 || Date::zmdate($photo->i('posted_at')) === '30 ноября 1999 в 00:00') {
|
||||
$date = 'не указана';
|
||||
} else {
|
||||
$date = Date::zmdate($photo->i('posted_at'));
|
||||
|
|
Loading…
Reference in a new issue