projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #18559 from agileware/CIVICRM-1567
[civicrm-core.git]
/
CRM
/
Mailing
/
Form
/
Task.php
diff --git
a/CRM/Mailing/Form/Task.php
b/CRM/Mailing/Form/Task.php
index 4a84746aaaba6479e80500081dbbff1f98eb6a76..0b0402be93e7357ef4585d8416fe9666d4c4af65 100644
(file)
--- a/
CRM/Mailing/Form/Task.php
+++ b/
CRM/Mailing/Form/Task.php
@@
-29,14
+29,14
@@
class CRM_Mailing_Form_Task extends CRM_Core_Form_Task {
}
/**
}
/**
- * @param CRM_Core_Form $form
+ * @param \CRM_Core_Form_Task $form
+ *
+ * @throws \CRM_Core_Exception
*/
public static function preProcessCommon(&$form) {
*/
public static function preProcessCommon(&$form) {
- $values = $form->
controller->exportValues($form->get('searchFormName')
);
+ $values = $form->
getSearchFormValues(
);
$form->_task = $values['task'] ?? NULL;
$form->_task = $values['task'] ?? NULL;
- $mailingTasks = CRM_Mailing_Task::tasks();
- $form->assign('taskName', CRM_Utils_Array::value('task', $values));
// ids are mailing event queue ids
$ids = [];
// ids are mailing event queue ids
$ids = [];