Inverted condition
This commit is contained in:
parent
258d5fa695
commit
de2898988b
|
@ -159,7 +159,7 @@ class Item
|
||||||
$fields['vid'] = Verb::getID($fields['verb']);
|
$fields['vid'] = Verb::getID($fields['verb']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($fields['edited'])) {
|
if (!empty($fields['edited'])) {
|
||||||
$previous = Post::selectFirst(['edited'], $condition);
|
$previous = Post::selectFirst(['edited'], $condition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user