projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7c358c
)
UpdateDatabase.php
author
john
<john@roojs.com>
Wed, 24 Jan 2018 03:07:31 +0000
(11:07 +0800)
committer
john
<john@roojs.com>
Wed, 24 Jan 2018 03:07:31 +0000
(11:07 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
57ea650
..
6153d88
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-849,12
+849,10
@@
class Pman_Core_UpdateDatabase extends Pman
if (!empty($data['to_group'])) {
- print_r($data['to_group']);exit;
-
$gp = DB_DataObject::Factory('core_group')->lookup('name',$data['to_group']);
if (empty($gp->id)) {
- $this->jerr("
in
_group {$data['to_group']} does not exist when importing template $name");
+ $this->jerr("
to
_group {$data['to_group']} does not exist when importing template $name");
}
$cm->in_group = $gp->id;