Skip to content
Snippets Groups Projects
Commit fd937866 authored by lobo's avatar lobo
Browse files

CRM-12667

----------------------------------------
* CRM-12667: Tell a Friend causes error: "You do not have permission to access this page"
  http://issues.civicrm.org/jira/browse/CRM-12667
parent f6060879
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ class CRM_Friend_Form_Event extends CRM_Event_Form_ManageEvent {
if (CRM_Utils_Array::value('id', $defaults)) {
$defaults['tf_id'] = CRM_Utils_Array::value('id', $defaults);
$this->_friendId = $defaults['tf_id'];
// lets unset the 'id' since it conflict with eventID (or contribID)
// lets unset the 'id' since it conflicts with eventID (or contribID)
// CRM-12667
unset($defaults['id']);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment