FIX filterAny error message now refers to correct method name

This commit is contained in:
Daniel Hensby 2016-10-30 12:04:07 +00:00
parent 2a3768266e
commit 747bd4cac0
No known key found for this signature in database
GPG Key ID: 229831A941962E26

View File

@ -434,7 +434,7 @@ class DataList extends ViewableData implements SS_List, SS_Filterable, SS_Sortab
} elseif($numberFuncArgs == 2) {
$whereArguments[func_get_arg(0)] = func_get_arg(1);
} else {
throw new InvalidArgumentException('Incorrect number of arguments passed to exclude()');
throw new InvalidArgumentException('Incorrect number of arguments passed to filterAny()');
}
return $this->alterDataQuery(function($query, $list) use ($whereArguments) {