Skip to content
Snippets Groups Projects
Commit b808cd25 authored by Eileen McNaughton's avatar Eileen McNaughton
Browse files

CRM-14139 ajax grouplist call - fixes notices on non-static functions

----------------------------------------
* CRM-14139: Static methods called non-statically
  http://issues.civicrm.org/jira/browse/CRM-14139
parent 38699bed
No related branches found
No related tags found
No related merge requests found
......@@ -676,7 +676,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
* @return array $groupList associated array of group list
* @access public
*/
public function getGroupListSelector(&$params) {
static public function getGroupListSelector(&$params) {
// format the params
$params['offset'] = ($params['page'] - 1) * $params['rp'];
$params['rowCount'] = $params['rp'];
......@@ -1043,7 +1043,7 @@ WHERE {$whereClause}";
return CRM_Core_DAO::singleValueQuery($query, $params);
}
function whereClause(&$params, $sortBy = TRUE, $excludeHidden = TRUE) {
static function whereClause(&$params, $sortBy = TRUE, $excludeHidden = TRUE) {
$values = array();
$clauses = array();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment