Thanks Tim. Changing
if ($page == -1) {
$nexturl = $attemptobj->summary_url();
to
if ($page == -1) {
$finishattempt = 1;
$nexturl = $attemptobj->summary_url();
worked like a charm.
Thanks Tim. Changing
if ($page == -1) {
$nexturl = $attemptobj->summary_url();
to
if ($page == -1) {
$finishattempt = 1;
$nexturl = $attemptobj->summary_url();
worked like a charm.