Git commits in Moodle 1.9.7 by Valery Fremaux

commit 76c9f22f9e22316e4390bff6495ff54e04a8f79f
Author: Valery Fremaux <valery.fremaux@club-internet.fr>
Date:   Sat, 21 Nov 2009 21:50:14 +0800
Tag:    v1.9.7

fix last http://tracker.moodle.org/browse/MDL-20917 shorten errors.