From 6d8ddde3f32692af8280fb69e431a01e296dfeb9 Mon Sep 17 00:00:00 2001 From: gbateson Date: Wed, 12 Oct 2005 07:08:54 +0000 Subject: [PATCH] insert modified submission form for mobile phone output --- mod/hotpot/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/hotpot/view.php b/mod/hotpot/view.php index 507a1b75401..94386f8856d 100644 --- a/mod/hotpot/view.php +++ b/mod/hotpot/view.php @@ -198,7 +198,7 @@ default: $hp->remove_nav_buttons(); } - if ($CFG->hotpotismobile) { + if (isset($hp->real_outputformat) && $hp->real_outputformat==HOTPOT_OUTPUTFORMAT_MOBILE) { $hp->insert_submission_form($attemptid, '', '', true); } else { $hp->insert_submission_form($attemptid, '', '');