projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fde13ef
)
UpdateDatabase.php
author
Edward
<edward@roojs.com>
Fri, 14 Sep 2018 01:40:15 +0000
(09:40 +0800)
committer
Edward
<edward@roojs.com>
Fri, 14 Sep 2018 01:40:15 +0000
(09:40 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
c54a4d1
..
13df3af
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-867,10
+867,11
@@
class Pman_Core_UpdateDatabase extends Pman
}
// 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)) {
}
// 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');
//}
if(isset($cm->to_group_id)) {
print_r('isset');
@@
-895,6
+896,10
@@
class Pman_Core_UpdateDatabase extends Pman
$cm->active = $data['active'];
}
$cm->active = $data['active'];
}
+ if(!empty($data['description'])){
+ $cm->description = $data['description'];
+ }
+
require_once $cm->test_class . '.php';
$clsname = str_replace('/','_', $cm->test_class);
require_once $cm->test_class . '.php';
$clsname = str_replace('/','_', $cm->test_class);