MDL-60587 block: Correct courseid/categoryid check
commit1ab858314a01aaf4adcbf712b67d03aae4c8a93a
authorAndrew Nicols <andrew@nicols.co.uk>
Fri, 3 Nov 2017 00:14:54 +0000 (3 08:14 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Fri, 3 Nov 2017 00:14:56 +0000 (3 08:14 +0800)
tree1d2de03f22fbbd37d66fbc4ececa85ea17fb5a89
parente20752c4f52ca57a702a79fb367f87620aafc783
MDL-60587 block: Correct courseid/categoryid check

pagelib uses magic getters for both the course, and category.
It does not define the magic __isset function though.
blocks/calendar_month/block_calendar_month.php
blocks/calendar_upcoming/block_calendar_upcoming.php