Merge pull request #13997 from eileenmcnaughton/recur_entity
[civicrm-core.git] / 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>";
       }