From 9a71cd85d879b0439e07949aa774e7e814f18f96 Mon Sep 17 00:00:00 2001
From: bobopinna <bobopinna>
Date: Wed, 6 Jun 2007 21:36:50 +0000
Subject: [PATCH] MDL-9206 Readded unlimited attempts option (Sorry I miss it)

---
 mod/scorm/mod_form.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mod/scorm/mod_form.php b/mod/scorm/mod_form.php
index 74451d6557..b50f431fb7 100644
--- a/mod/scorm/mod_form.php
+++ b/mod/scorm/mod_form.php
@@ -53,6 +53,7 @@ class mod_scorm_mod_form extends moodleform_mod {
         $mform->addElement('static', 'attempts', get_string('attempts','scorm'));
 
 // Max Attempts
+        $attempts = array(0 => get_string('nolimit','scorm'));
         for ($i=1; $i<=$CFG->scorm_maxattempts; $i++) {
             if ($i == 1) {
                 $attempts[$i] = $i . ' ' . get_string('attempt','scorm');
-- 
2.39.5