From 8e39134df6b778248fea8893006e8828b81fcc6a Mon Sep 17 00:00:00 2001 From: themohooks <81331307+themohooks@users.noreply.github.com> Date: Fri, 19 Jul 2024 01:01:03 +0300 Subject: [PATCH] off comments if photo on moderation --- views/pages/Photo.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/views/pages/Photo.php b/views/pages/Photo.php index 2dce741..13cd496 100644 --- a/views/pages/Photo.php +++ b/views/pages/Photo.php @@ -314,6 +314,7 @@ if ($photo->i('id') !== null) { i('moderated') > 0) { $comments = DB::query('SELECT * FROM photos_comments WHERE photo_id=:pid', array(':pid' => $id)); ?>
@@ -343,6 +344,7 @@ if ($photo->i('id') !== null) {
+