Skip to content

Commit 2fca2d3

Browse files
Bug: $event has unknown fields, no getMessage()
1 parent 1f0d145 commit 2fca2d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gwynethllewelyn/postlocalstorage/event/listener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ static public function getSubscribedEvents()
7474
*/
7575
public function check_expiry_time($event)
7676
{
77-
error_log('[phpBB3 postlocalstorage] checking for expiry time...' . $event->getMessage());
77+
error_log('[phpBB3 postlocalstorage] checking for expiry time...' . empty($event) ? '(empty event data)' : '(we got something on the event data)');
7878

7979
try
8080
{

0 commit comments

Comments
 (0)