-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$event->id does not exist in multiple places. #234
Comments
We can not assume event will have an id, we need to handle this/assign this appropriately. |
Yeah I'd recommend checking if it's there and setting it to |
Any opposition to using a ternary expression in those spots? And to use zero instead of null since null can put us back into the undefined boat depending on where that element ends up? |
I can see four uses of the event's id.
Let me know if there are any other uses. I think the first usage is actually meant to be |
That's agreeable. |
Description
When going through a quiz, with the logstore app set to real time transmission to the LRS. I get the following in several places.
And again at transformer\handler.php line 37
$eventobj->id is undefined.
Version
Steps to reproduce the bug
Go and take a quiz, and look at the bottom, you will see several undefined warnings.
Expected behaviour
Actual behaviour
The text was updated successfully, but these errors were encountered: