Git commits in Moodle 2.3.x by Hugh Davenport

commit 5b244e2bb03d4e942c05722f1034547ad6500970
Author: Hugh Davenport <hugh@catalyst.net.nz>
Date:   Tue, 10 Apr 2012 01:03:45 +0800
Tag:    v2.3.0-beta

MDL-32308 Fix error when testing id of guest user