projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0c4986
)
Fix event hash of comment (response) like user notification events
author
Matthias Schmidt
<gravatronics@live.com>
Sat, 5 Aug 2017 09:47:52 +0000
(11:47 +0200)
committer
Matthias Schmidt
<gravatronics@live.com>
Sat, 5 Aug 2017 09:47:52 +0000
(11:47 +0200)
Close #2362
wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentLikeUserNotificationEvent.class.php
patch
|
blob
|
blame
|
history
wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentResponseLikeUserNotificationEvent.class.php
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentLikeUserNotificationEvent.class.php
b/wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentLikeUserNotificationEvent.class.php
index 0c3736c0c8f00068938f8b78ba25527549c41440..1e8a37509a0803a277f09608d3a932a52b210855 100644
(file)
--- a/
wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentLikeUserNotificationEvent.class.php
+++ b/
wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentLikeUserNotificationEvent.class.php
@@
-99,7
+99,7
@@
class UserProfileCommentLikeUserNotificationEvent extends AbstractSharedUserNoti
* @inheritDoc
*/
public function getEventHash() {
- return sha1($this->eventID . '-' . $this->
additionalData['objectID']
);
+ return sha1($this->eventID . '-' . $this->
getCommentID()
);
}
/**
diff --git
a/wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentResponseLikeUserNotificationEvent.class.php
b/wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentResponseLikeUserNotificationEvent.class.php
index 06ca7437be1edcd5030339dab2368c54efb52b98..97f0af7c0667e1dd6267d8dbaee24d76f2067788 100644
(file)
--- a/
wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentResponseLikeUserNotificationEvent.class.php
+++ b/
wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentResponseLikeUserNotificationEvent.class.php
@@
-110,7
+110,7
@@
class UserProfileCommentResponseLikeUserNotificationEvent extends AbstractShared
* @inheritDoc
*/
public function getEventHash() {
- return sha1($this->eventID . '-' . $this->
additionalData['commentID']
);
+ return sha1($this->eventID . '-' . $this->
getUserNotificationObject()->objectID
);
}
/**