Update courses.php

Fixes Course Loading Issue