Inverted condition
This commit is contained in:
parent
258d5fa695
commit
de2898988b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue