Hi @mb324-unikent I'm a bit confused by this one - as the Doctors say, can I have a consult?

Programme 15, which apparently has no modules, gives the following when I var_dump the $course->modules_intro:

[modules] => Array
        (
            [0] => 
            [1] => 
        )

Programme 215, the original control, has no modules, and gives the following:

[modules] => Array
        (
            [0] => stdClass Object
                (
                    [stages] => Array
                        (
                        )

                )

        )

Programme 1, which has many, gives:

 [modules] => Array
        (
            [0] => stdClass Object
                (
                    [stages] => stdClass Object
                        (
                            [1] => stdClass Object
                                (
                                    [name] => First Stage
                                    [clusters] => stdClass Object
                                        (
                                            [compulsory] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [module_cluster] => 1
                                                            [cluster_type] => RQRD


							    etc

Can I safely interrogate the stdClass object with array notation?