From 2ebf90fabdaf7aa1c6663b94e313222387f5efc9 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 30 Nov 2007 00:38:38 +0000 Subject: [PATCH] svn path=/trunk/boinc/; revision=14327 --- html/user/bolt_sched.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/html/user/bolt_sched.php b/html/user/bolt_sched.php index 8b3e1468ee..425b21bdf1 100644 --- a/html/user/bolt_sched.php +++ b/html/user/bolt_sched.php @@ -136,8 +136,13 @@ case 'answer': // submit answer in exercise $bolt_ex_mode = BOLT_MODE_SCORE; $bolt_ex_index = 0; $bolt_ex_score = 0; + ob_start(); // turn on output buffering require($item->filename); + ob_end_clean(); echo "score: $bolt_ex_score"; + $bolt_ex_mode = BOLT_MODE_ANSWER; + $bolt_ex_index = 0; + require($item->filename); break; }