From: eileen Date: Fri, 13 Nov 2015 16:35:47 +0000 (-0800) Subject: fix php static warning X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=59b36d1489002f172c16eb9e410b448e3ca014dd;p=civicrm-core.git fix php static warning --- diff --git a/CRM/Core/BAO/UFGroup.php b/CRM/Core/BAO/UFGroup.php index bbd8d8e7c2..3a1c3b5b1c 100644 --- a/CRM/Core/BAO/UFGroup.php +++ b/CRM/Core/BAO/UFGroup.php @@ -2856,7 +2856,7 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) * @param array $values * @param CRM_Core_Smarty $template */ - public function profileDisplay($gid, $values, $template) { + static public function profileDisplay($gid, $values, $template) { $groupTitle = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_UFGroup', $gid, 'title'); $template->assign('grouptitle', $groupTitle); if (count($values)) {