}
// initEmails will always have the latest location of the test class - in theory the user should not be changign the value of this...
//if (empty($cm->test_class)) {
- if (empty($data['test_class'])) {
- $this->jerr("missing test_class for template $name");
- }
- $cm->test_class = $data['test_class'];
+ if (empty($data['test_class'])) {
+ $this->jerr("missing test_class for template $name");
+ }
+
+ $cm->test_class = $data['test_class'];
//}
if(isset($cm->to_group_id)) {
print_r('isset');
$cm->active = $data['active'];
}
+ if(!empty($data['description'])){
+ $cm->description = $data['description'];
+ }
+
require_once $cm->test_class . '.php';
$clsname = str_replace('/','_', $cm->test_class);