"tag" is no field anymore

This commit is contained in:
Michael 2021-07-30 06:22:52 +00:00
parent bb37c41bd7
commit aac965be7d

View File

@ -411,7 +411,7 @@ function photos_post(App $a)
} }
if ($item_id) { 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)) { if (DBA::isResult($item)) {
$old_inform = $item['inform']; $old_inform = $item['inform'];