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

CRM-12282

----------------------------------------
* CRM-12282: Activity Delete gives an invalid key error
  http://issues.civicrm.org/jira/browse/CRM-12282
parent a699a077
No related branches found
No related tags found
No related merge requests found
......@@ -51,8 +51,11 @@ class CRM_Activity_Page_Tab extends CRM_Core_Page {
$this->assign('context', 'activity');
// also create the form element for the activity filter box
$controller = new CRM_Core_Controller_Simple('CRM_Activity_Form_ActivityFilter',
ts('Activity Filter'), NULL
$controller = new CRM_Core_Controller_Simple(
'CRM_Activity_Form_ActivityFilter',
ts('Activity Filter'),
NULL,
FALSE, FALSE, TRUE
);
$controller->set('contactId', $this->_contactId);
$controller->setEmbedded(TRUE);
......@@ -138,15 +141,19 @@ class CRM_Activity_Page_Tab extends CRM_Core_Page {
$this->assign('action', $this->_action);
// also create the form element for the activity links box
$controller = new CRM_Core_Controller_Simple('CRM_Activity_Form_ActivityLinks',
ts('Activity Links'), NULL
$controller = new CRM_Core_Controller_Simple(
'CRM_Activity_Form_ActivityLinks',
ts('Activity Links'),
NULL,
FALSE, FALSE, TRUE
);
$controller->setEmbedded(TRUE);
$controller->run();
}
function delete() {
$controller = new CRM_Core_Controller_Simple('CRM_Activity_Form_Activity',
$controller = new CRM_Core_Controller_Simple(
'CRM_Activity_Form_Activity',
ts('Activity Record'),
$this->_action
);
......
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