Fix warning about potentially undefined variable
authorMatthias Schmidt <gravatronics@live.com>
Sun, 23 Jul 2017 05:12:08 +0000 (07:12 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 23 Jul 2017 05:12:08 +0000 (07:12 +0200)
wcfsetup/install/files/lib/system/user/activity/event/ArticleCommentResponseUserActivityEvent.class.php

index 5801321c62189ef1193b71513b1d774b0ffd6780..90ef2474b3b46d15521295e5b095d2c313f42358 100644 (file)
@@ -57,7 +57,7 @@ class ArticleCommentResponseUserActivityEvent extends SingletonFactory implement
                }
                
                // fetch users
-               $userIDs = $user = [];
+               $userIDs = $users = [];
                foreach ($comments as $comment) {
                        $userIDs[] = $comment->userID;
                }