Git commits in Moodle 3.2.x by godric

commit 382c069e527584d58e39afaff0f39e4c0bb8e3f2
Author: godric <mr.pt.anh.bsb@gmail.com>
Date:   Tue, 29 Nov 2016 15:49:21 +0800
Tag:    v3.2.2

MDL-40132 lib: Using compare rule results in fatal error.