From 7b10549afc5369d718105438b70c15de11eeb03e Mon Sep 17 00:00:00 2001 From: themohooks <81331307+themohooks@users.noreply.github.com> Date: Wed, 17 Jul 2024 05:03:01 +0300 Subject: [PATCH] Update Photo.php --- views/pages/Photo.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/views/pages/Photo.php b/views/pages/Photo.php index 1b38ef8..ba2c209 100644 --- a/views/pages/Photo.php +++ b/views/pages/Photo.php @@ -149,7 +149,6 @@ if ($photo->i('id') !== null) { if ($photo->i('postbody') != null) { ?> i('postbody')) ?> - @@ -162,7 +161,7 @@ if ($photo->i('id') !== null) {
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'));