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:
163e693
)
CRM-15578 - Filter message templates on is_active=>1
author
Tim Otten
<totten@civicrm.org>
Tue, 24 Feb 2015 18:47:59 +0000
(10:47 -0800)
committer
Tim Otten
<totten@civicrm.org>
Tue, 24 Feb 2015 18:47:59 +0000
(10:47 -0800)
CRM/Mailing/Info.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Mailing/Info.php
b/CRM/Mailing/Info.php
index 69b6908d250b81da0429f2e25c011c438133249d..db1ffa30207e7fc252a21bb107980da8b7168a53 100644
(file)
--- a/
CRM/Mailing/Info.php
+++ b/
CRM/Mailing/Info.php
@@
-109,6
+109,7
@@
class CRM_Mailing_Info extends CRM_Core_Component_Info {
$mesTemplate = civicrm_api3('MessageTemplate', 'get', array(
'sequential' => 1,
'return' => array("msg_html", "id", "msg_title", "msg_subject"),
+ 'is_active' => 1,
'id' => array('>' => 58),
));
}
@@
-122,6
+123,7
@@
class CRM_Mailing_Info extends CRM_Core_Component_Info {
$mesTemplate = civicrm_api3('MessageTemplate', 'get', array(
'sequential' => 1,
'return' => array("msg_html", "id", "msg_title", "msg_subject", "msg_text"),
+ 'is_active' => 1,
'workflow_id' => array('IS NULL' => ""),
));
}