Issue #2385799 by kyoder: updates to quiz report template
Fixed a tiny notice when saving nodes programmatically.
Passed Coder standards.