From: Michael Date: Sat, 26 Jun 2021 11:31:37 +0000 (+0000) Subject: Inverted condition X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=de2898988bd99aad8c74d077920d432bc536c2fe;p=friendica.git Inverted condition --- diff --git a/src/Model/Item.php b/src/Model/Item.php index 26834c3a8b..871ff9ad8e 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -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); }