Git commits in Moodle x.x.x by godric

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

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

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.

commit 4c4b966a9229e55bddd129ebc460aed5b6e7d4ff
Author: godric <mr.pt.anh.bsb@gmail.com>
Date:   Tue, 29 Nov 2016 15:49:21 +0800
Tag:    v3.3.0-beta

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