We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 346a3df commit 2f539e4Copy full SHA for 2f539e4
utils/base.php
@@ -48,14 +48,18 @@ public function getAllCommentsOfPage($page)
48
49
if (count($languageCodes) === 0) {
50
$inbox = $this->getInboxByLanguage($page);
51
- $inboxes->add($inbox->toStructure());
+ if (!is_null($inbox)) {
52
+ $inboxes->add($inbox->toStructure());
53
+ }
54
55
return $inboxes;
56
}
57
58
foreach ($languageCodes as $language) {
59
$inbox = $this->getInboxByLanguage($page, $language);
60
61
62
63
64
65
0 commit comments