projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60e4e44
)
UpdateDatabase.php
author
john
<john@roojs.com>
Wed, 24 Jan 2018 02:48:27 +0000
(10:48 +0800)
committer
john
<john@roojs.com>
Wed, 24 Jan 2018 02:48:27 +0000
(10:48 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
71a828e
..
569f300
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-857,8
+857,8
@@
class Pman_Core_UpdateDatabase extends Pman
$cm->in_group = $gp->id;
}
- if(
$active != 1
) {
- $cm->active =
0
;
+ if(
!empty($data['active'])
) {
+ $cm->active =
$data['active']
;
}
require_once $cm->test_class . '.php';