From 3f2d600250b714c719a270e9a9a975799a00dcf1 Mon Sep 17 00:00:00 2001 From: kurund Date: Thu, 29 Aug 2013 17:33:41 +0530 Subject: [PATCH] notice fixes --- CRM/Core/DAO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/DAO.php b/CRM/Core/DAO.php index e263202706..3420ca100a 100644 --- a/CRM/Core/DAO.php +++ b/CRM/Core/DAO.php @@ -1834,7 +1834,7 @@ EOS; * @return NULL|string|array a string is returned if $returnSanitisedArray is not set, otherwise and Array or NULL * depending on whether it is supported as yet **/ - public function createSQLFilter($fieldName, $filter, $type, $alias = NULL, $returnSanitisedArray = FALSE) { + public static function createSQLFilter($fieldName, $filter, $type, $alias = NULL, $returnSanitisedArray = FALSE) { // http://issues.civicrm.org/jira/browse/CRM-9150 - stick with 'simple' operators for now // support for other syntaxes is discussed in ticket but being put off for now $acceptedSQLOperators = array('=', '<=', '>=', '>', '<', 'LIKE', "<>", "!=", "NOT LIKE", 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'); -- 2.25.1