language field renamed to "language"

This commit is contained in:
Michael 2024-02-02 07:05:39 +00:00
parent fc22a3e83f
commit 7faa42882b
9 changed files with 23 additions and 12 deletions

View file

@ -1376,7 +1376,7 @@ class PostUpdate
return true;
}
$engagements = DBA::select('post-engagement', ['uri-id'], ["`iso-639-1` IS NULL"], ['order' => ['uri-id' => true], 'limit' => 1000]);
$engagements = DBA::select('post-engagement', ['uri-id'], ["`language` IS NULL"], ['order' => ['uri-id' => true], 'limit' => 1000]);
while ($engagement = DBA::fetch($engagements)) {
$item = Post::selectFirst([], ['uri-id' => $engagement['uri-id']]);
if (empty($item)) {