moodle24

-Added fix for too many sections being returned.
-Small fix for strict php error where null object was assigned a value.