Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 1.8.3
-
Fix Version/s: None
-
Component/s: SCORM
-
Labels:None
-
Environment:This occurs since PHP 5.2.4, it works on PHP 5.2.3 and older PHP versions
-
Affected Branches:MOODLE_18_STABLE
Description
With PHP version 5.2.4 the "Continue" button omits an SCO in the player. This occurs since PHP version 5.2.4, here is the PHP bug report:
http://bugs.php.net/bug.php?id=42839
At and of the report there is a new note:
"Note: Unless the array is referenced, foreach operates on a copy of the
specified array and not the array itself. foreach has some side effects
on the array pointer. Don't rely on the array pointer during or after
the foreach without resetting it."
This navigation issue is occurred, because the code is relying on the array pointer at this line in (scorm_12lib.php):
$nextsco = next($scoes);
Kind Regards
Szazo
Issue Links
| This issue is duplicated by: | ||||
| MDL-13093 | "Continue" link jumps over items |
|
|
|
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions
MDL-12679is a duplicate ofMDL-13093MDL-12679is a duplicate ofMDL-13093