Git commits in Moodle 1.7.x by dwoolhead

commit 12490fc2b32f750220e510a0e4f5201a76b71826
Author: dwoolhead <dwoolhead>
Date:   Fri, 22 Sep 2006 19:15:10 +0800
Tag:    v1.7.0

Prevent 'Warning: Invalid argument supplied for foreach() in ...' for get_courses_page function when there are no courses in the required category.

commit 58de1815f4757516a3972fd8e14c9a84f470edd9
Author: dwoolhead <dwoolhead>
Date:   Fri, 19 May 2006 00:15:04 +0800
Tag:    v1.7.0

Bug 5536 Replaced references to hide by show. Merged from stable branch.