Jack Phoenix has submitted this change and it was merged.
Change subject: Fix some errors
......................................................................
Fix some errors
Some checking
Change-Id: I4443fc277a078c39974f3b54299fc4809814f5f2
---
M CommentsPage.php
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Jack Phoenix: Verified; Looks good to me, approved
diff --git a/CommentsPage.php b/CommentsPage.php
index 8179f61..e0d7270 100644
--- a/CommentsPage.php
+++ b/CommentsPage.php
@@ -414,6 +414,7 @@
foreach ( $comments as $comment ) {
if (
+ $comment &&
!array_key_exists( $comment->username, $bucket ) &&
$comment->userID == 0
) {
--
To view, visit https://gerrit.wikimedia.org/r/185915
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4443fc277a078c39974f3b54299fc4809814f5f2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Comments
Gerrit-Branch: master
Gerrit-Owner: UltrasonicNXT <[email protected]>
Gerrit-Reviewer: Jack Phoenix <[email protected]>
Gerrit-Reviewer: Lewis Cawte <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits