From aac965be7d33aca1119d6593c71589e7e8179e78 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 30 Jul 2021 06:22:52 +0000 Subject: [PATCH] "tag" is no field anymore --- mod/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/photos.php b/mod/photos.php index 132222f04..9e1fa9ced 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -411,7 +411,7 @@ function photos_post(App $a) } if ($item_id) { - $item = Post::selectFirst(['tag', 'inform', 'uri-id'], ['id' => $item_id, 'uid' => $page_owner_uid]); + $item = Post::selectFirst(['inform', 'uri-id'], ['id' => $item_id, 'uid' => $page_owner_uid]); if (DBA::isResult($item)) { $old_inform = $item['inform'];