diff --git a/src/Worker/OnePoll.php b/src/Worker/OnePoll.php index b3b3f1c65c..4b4790c279 100644 --- a/src/Worker/OnePoll.php +++ b/src/Worker/OnePoll.php @@ -492,7 +492,7 @@ class OnePoll // If it seems to be a reply but a header couldn't be found take the last message with matching subject if (empty($datarray['parent-uri']) && $reply) { - $condition = ['title' => $datarray['title'], 'uid' => importer_uid, 'network' => Protocol::MAIL]; + $condition = ['title' => $datarray['title'], 'uid' => $importer_uid, 'network' => Protocol::MAIL]; $params = ['order' => ['created' => true]]; $parent = Item::selectFirst(['parent-uri'], $condition, $params); if (DBA::isResult($parent)) {