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:
cfb4ff7
)
TemplateTrait - Fix references to CRM_Core_Exception
author
Tim Otten
<totten@civicrm.org>
Tue, 5 Dec 2023 22:21:19 +0000
(22:21 +0000)
committer
Tim Otten
<totten@civicrm.org>
Tue, 5 Dec 2023 22:23:07 +0000
(22:23 +0000)
There are a few places where this class throws exceptions. It's quite uncommon. But if it happens, then it won't work right.
Civi/WorkflowMessage/Traits/TemplateTrait.php
patch
|
blob
|
blame
|
history
diff --git
a/Civi/WorkflowMessage/Traits/TemplateTrait.php
b/Civi/WorkflowMessage/Traits/TemplateTrait.php
index 73d6f4127277b05ba07ebda90116fbaf0fa1e0bd..2d881193e302a97ff15e99c9f38a33b9b655a61b 100644
(file)
--- a/
Civi/WorkflowMessage/Traits/TemplateTrait.php
+++ b/
Civi/WorkflowMessage/Traits/TemplateTrait.php
@@
-13,6
+13,7
@@
namespace Civi\WorkflowMessage\Traits;
use Civi\Api4\Contact;
use Civi\Api4\MessageTemplate;
+use CRM_Core_Exception;
/**
* @method getTemplate(): ?array