Fixed variable reference
authorAlexander Ebert <ebert@woltlab.com>
Sat, 18 Jun 2016 17:16:18 +0000 (19:16 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 18 Jun 2016 17:16:18 +0000 (19:16 +0200)
wcfsetup/install/files/lib/system/comment/manager/UserProfileCommentManager.class.php

index 25ea761ed7b1039f685ef8468e66acc25ee911ac..85cca69dbfaec32c7cb023d2066bd9a8e37dc4e3 100644 (file)
@@ -213,7 +213,7 @@ class UserProfileCommentManager extends AbstractCommentManager implements IViewa
                                                
                                                // short output
                                                $text = WCF::getLanguage()->getDynamicVariable('wcf.like.title.com.woltlab.wcf.user.profileComment.response', array(
-                                                       'responseAuthor' => $comment->userID ? $users[$response->userID] : null,
+                                                       'responseAuthor' => $response->userID ? $users[$response->userID] : null,
                                                        'commentAuthor' => $comment->userID ? $users[$comment->userID] : null,
                                                        'user' => $users[$comment->objectID],
                                                        'like' => $like