Git commits in Moodle 2.2.4 by Mark Nielsen

commit 92e6515548a3b768300a6478be432207234a7939
Author: Mark Nielsen <mark@moodlerooms.com>
Date:   Tue, 26 Jun 2012 17:56:11 +0800
Tag:    v2.2.4

fixed undefined variable