1
0
Fork 0

Inverted condition

This commit is contained in:
Michael 2021-06-26 11:31:37 +00:00
parent 258d5fa695
commit de2898988b

View file

@ -159,7 +159,7 @@ class Item
$fields['vid'] = Verb::getID($fields['verb']);
}
if (empty($fields['edited'])) {
if (!empty($fields['edited'])) {
$previous = Post::selectFirst(['edited'], $condition);
}