projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa472fc
)
UpdateDatabase.php
author
john
<john@roojs.com>
Wed, 24 Jan 2018 04:27:05 +0000
(12:27 +0800)
committer
john
<john@roojs.com>
Wed, 24 Jan 2018 04:27:05 +0000
(12:27 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
f65070b
..
f0c8c78
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-858,7
+858,7
@@
class Pman_Core_UpdateDatabase extends Pman
$cm->to_group = $gp->id;
}
- if(isset($cm->to_group)) {
+ if(
!empty($data['to_group']) &&
isset($cm->to_group)) {
if($cm->to_group < 1) {
$gp = DB_DataObject::Factory('core_group')->lookup('name',$data['to_group']);