Skip to content
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

Multiple Sessions add error in 3.4 #292

Closed
jtouw opened this issue Feb 1, 2018 · 1 comment
Closed

Multiple Sessions add error in 3.4 #292

jtouw opened this issue Feb 1, 2018 · 1 comment

Comments

@jtouw
Copy link

jtouw commented Feb 1, 2018

When I add multiple sessions allowing students to record their own attendance, with automatic marking set to YES, I get the following error:

Notice: Undefined property: stdClass::$studentpassword in C:\inetpub\wwwroot\moodle\mod\attendance\locallib.php on line 588 Notice: Undefined property: stdClass::$studentpassword in C:\inetpub\wwwroot\moodle\mod\attendance\locallib.php on line 588

The session then appears to add normally.

The ONLY time I get this error. If I add a session with auto marking set to YES and it is a single session, no error. If I add multiple sessions and Students NOT Recording their own attendance (box is unchecked), no error.

danmarsden added a commit that referenced this issue Feb 1, 2018
also allow absenteereport setting to be updated.
danmarsden added a commit that referenced this issue Feb 1, 2018
also allow absenteereport setting to be updated.
danmarsden added a commit that referenced this issue Feb 1, 2018
also allow absenteereport setting to be updated.
@danmarsden
Copy link
Owner

thanks for the report - found the issue and I've pushed a fix into github to tidy that up. I'll be updating the version in the plugins db soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants