From: Frank J. Gómez Date: Wed, 22 Jul 2015 15:51:25 +0000 (-0400) Subject: Quick and dirty hacking to put angular form in tab. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e84a94d286b723aa1492f55ef4a98139957ce6a1;p=civicrm-core.git Quick and dirty hacking to put angular form in tab. --- diff --git a/CRM/Event/Form/ManageEvent/TabHeader.php b/CRM/Event/Form/ManageEvent/TabHeader.php index 8e299d71a6..dbde3adbaa 100644 --- a/CRM/Event/Form/ManageEvent/TabHeader.php +++ b/CRM/Event/Form/ManageEvent/TabHeader.php @@ -200,13 +200,13 @@ WHERE e.id = %1 } if (isset($value['link'])) { - $link = $value['link']; - $query = NULL; + $tabs[$key]['link'] = $value['link']; } else { $link = "civicrm/event/manage/{$key}"; $query = "{$reset}action={$action}&id={$eventID}&component=event{$tabs[$key]['qfKey']}"; + $tabs[$key]['link'] = CRM_Utils_System::url($link, $query); } - $tabs[$key]['link'] = CRM_Utils_System::url($link, $query); + } }