From e6d1abedb8a9bcebea481174e7378424d49a13f1 Mon Sep 17 00:00:00 2001
From: themohooks <81331307+themohooks@users.noreply.github.com>
Date: Sun, 21 Jul 2024 16:39:26 +0300
Subject: [PATCH] Update PhotoExt.php

---
 views/pages/PhotoExt.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/views/pages/PhotoExt.php b/views/pages/PhotoExt.php
index 47fbef6..f340a4c 100644
--- a/views/pages/PhotoExt.php
+++ b/views/pages/PhotoExt.php
@@ -38,7 +38,7 @@ $photo = new \App\Models\Photo($_GET['id']);
                         </tr>
                         <tr class="s1 h21">
                             <td class="ds">Находится на сайте, дней:</td>
-                            <td class="ds"><b><?=floor((time() - $photo->i('timeupload')) / 8600)?></b></td>
+                            <td class="ds"><b><?=floor((time() - $photo->i('timeupload')) / 86400)?></b></td>
                         </tr>
                         <tr class="s11 h21">
                             <td class="ds">Уникальных просмотров:</td>