MDL-36413 Added "this->" to exclude variable assignment
authorNicolas Connault <nicolasconnault@gmail.com>
Wed, 7 Nov 2012 06:52:09 +0000 (14:52 +0800)
committerNicolas Connault <nicolasconnault@gmail.com>
Wed, 7 Nov 2012 06:52:09 +0000 (14:52 +0800)
The this-> keyword was missing from the $exclude = array() statement.

user/selector/lib.php

index 2319332..f757f31 100644 (file)
@@ -137,7 +137,7 @@ abstract class user_selector_base {
      * Clear the list of excluded user ids.
      */
     public function clear_exclusions() {
-        $exclude = array();
+        $this->exclude = array();
     }
 
     /**