core/issues/923, Fixed notice error when creating/editing profile
authorPradeep Nayak <pradpnayak@gmail.com>
Thu, 9 May 2019 21:35:00 +0000 (22:35 +0100)
committerPradeep Nayak <pradpnayak@gmail.com>
Thu, 9 May 2019 21:35:00 +0000 (22:35 +0100)
CRM/UF/Form/Group.php

index 9a5dfbec8ab874c66cc66f32bf0994b15b0a3ee8..e9bf93e0f6732f6dd69abdc9bb8692d2f15e0da7 100644 (file)
@@ -449,8 +449,8 @@ class CRM_UF_Form_Group extends CRM_Core_Form {
    */
   protected function getOtherModuleString() {
     $otherModules = CRM_Core_BAO_UFGroup::getUFJoinRecord($this->_id, TRUE, TRUE);
+    $otherModuleString = NULL;
     if (!empty($otherModules)) {
-      $otherModuleString = NULL;
       foreach ($otherModules as $key) {
         $otherModuleString .= " [ x ] <label>" . $key . "</label>";
       }