A PHP "Undefined property" notice occurs in quiz_validate() when the pass_rate property is not set on $node.

Comments

ben.denham created an issue. See original summary.

ben.denham’s picture

Status: Active » Needs review
StatusFileSize
new661 bytes

This patch fixes the issue by checking whether the pass_rate property is set on $node and is a "truthy" value with empty().

djdevin’s picture