projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ebfe24
)
Changed " - Copy" append to "Copy of " prepend for consistency
author
Lars SG
<lars@wildsight.ca>
Fri, 16 Apr 2021 21:54:21 +0000
(15:54 -0600)
committer
Lars SG
<lars@wildsight.ca>
Fri, 16 Apr 2021 21:54:21 +0000
(15:54 -0600)
CRM/Mailing/Controller/Send.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Mailing/Controller/Send.php
b/CRM/Mailing/Controller/Send.php
index cfde095d34a909a470cb3cf8a5af0800d6fde183..e1d9ce8ce36cd422e214593f02aad16c0edc6c5d 100644
(file)
--- a/
CRM/Mailing/Controller/Send.php
+++ b/
CRM/Mailing/Controller/Send.php
@@
-51,7
+51,7
@@
class CRM_Mailing_Controller_Send extends CRM_Core_Controller {
$clone = civicrm_api3('Mailing', 'clone', ['id' => $mid]);
civicrm_api3('Mailing', 'create', [
'id' => $clone['id'],
- 'name' =>
$clone['values'][$clone['id']]['name'] . " - Copy"
,
+ 'name' =>
"Copy of " . $clone['values'][$clone['id']]['name']
,
]);
CRM_Utils_System::redirect(CRM_Utils_System::url('civicrm/a/', NULL, TRUE, '/mailing/' . $clone['id']));
}