Fix: Prevent an endless loop when fetching quoted content

This commit is contained in:
Michael 2023-05-19 17:28:29 +00:00
parent 14956244cc
commit 1523fa2236
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ class Status extends BaseFactory
$quote_id = $item['quote-uri-id'];
}
if (!empty($quote_id)) {
if (!empty($quote_id) && ($quote_id != $item['uri-id'])) {
try {
$quote = $this->createFromUriId($quote_id, $uid, false, false, false)->toArray();
} catch (\Exception $exception) {