projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c9fb20
)
UpdateDatabase.php
author
edward
<edward@roojs.com>
Mon, 18 Jul 2016 07:16:54 +0000
(15:16 +0800)
committer
edward
<edward@roojs.com>
Mon, 18 Jul 2016 07:16:54 +0000
(15:16 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
6ee7dc0
..
06cfe3e
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-787,9
+787,10
@@
class Pman_Core_UpdateDatabase extends Pman
$g = DB_DataObject::Factory('Groups')->lookup('name',$data['bcc_group']);
if (!$g) {
+ pritn_R('run??');exit;
$this->jerr("bcc_group {$data['bcc_group']} does not exist when importing template $name");
}
- print_R($data['bcc_group']);
+
if (!$g->members('email')) {
$this->jerr("bcc_group {$data['bcc_group']} does not have any members");
}