Fix: Prevent an endless loop when fetching quoted content
This commit is contained in:
parent
14956244cc
commit
1523fa2236
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue