Git commits in Moodle 1.8.1 by mattc-catalyst

commit 37c2fe3e1a0916ea9ec472149ca3121dfcec0353
Author: mattc-catalyst <mattc-catalyst>
Date:   Mon, 07 May 2007 07:41:37 +0800
Tag:    v1.8.1

MDL-9617: Fixed bug in previous commits.