fix php static warning
authoreileen <emcnaughton@wikimedia.org>
Fri, 13 Nov 2015 16:35:47 +0000 (08:35 -0800)
committereileen <emcnaughton@wikimedia.org>
Sun, 15 Nov 2015 17:27:19 +0000 (09:27 -0800)
CRM/Core/BAO/UFGroup.php

index bbd8d8e7c2477fdf625fb3d0d2cbc8ff5684a7a1..3a1c3b5b1ce8284432787f0d9c92ae13501d1b95 100644 (file)
@@ -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)) {