Git commits in Moodle 1.6.4 by vyshane

commit ac9bdaadc105bb6b56d4ae396077d911c9ecd6e4
Author: vyshane <vyshane>
Date:   Tue, 17 Oct 2006 15:16:50 +0800
Tag:    v1.6.4

Fixes for MDL-6363