From: kurund Date: Thu, 29 Aug 2013 12:03:41 +0000 (+0530) Subject: notice fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3f2d600250b714c719a270e9a9a975799a00dcf1;p=civicrm-core.git notice fixes --- 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');