projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CRM-21520: Remove Unneeded Change to Menu XML and Refactor Redirect
[civicrm-core.git]
/
CRM
/
Case
/
Form
/
AddToCaseAsRole.php
diff --git
a/CRM/Case/Form/AddToCaseAsRole.php
b/CRM/Case/Form/AddToCaseAsRole.php
index 1fa811d399415b1e9513530d5b4de6377ee2211a..d62dd92ad12609d983f84efe5626afb7c061e506 100644
(file)
--- a/
CRM/Case/Form/AddToCaseAsRole.php
+++ b/
CRM/Case/Form/AddToCaseAsRole.php
@@
-80,7
+80,12
@@
class CRM_Case_Form_AddToCaseAsRole extends CRM_Contact_Form_Task {
$url = CRM_Utils_System::url(
'civicrm/contact/view/case',
- sprintf('cid=%d&id=%d', $clients[0], $caseId)
+ array(
+ 'cid' => $clients[0],
+ 'id' => $caseId,
+ 'reset' => 1,
+ 'action' => 'view',
+ )
);
CRM_Utils_System::redirect($url);
}