Closed (fixed)
Project:
Moodle Integration
Version:
6.x-2.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 Apr 2011 at 17:57 UTC
Updated:
17 May 2011 at 00:02 UTC
Attached is a patch which fixes a bug with _moodle_theme_course_obj_array(), where it checks to see if $courselist is an array instead of checking if it's populated. I've found that $courselist is always an array, but can be empty.
| Comment | File | Size | Author |
|---|---|---|---|
| empty-courselist-fix.patch | 414 bytes | samlerner |
Comments
Comment #1
Chris Johnson commentedThanks for the report and proposed patch.
Comment #2
Chris Johnson commentedCommitted a fix in 8e5e04beee0f37051d838bd6a5d354bacadec36e. Will build a release shortly.
Comment #3
Chris Johnson commentedRelease 6.x-2.3 fixes this problem. http://drupal.org/node/1145082