projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3752eb1
)
UpdateDatabase.php
author
edward
<edward@roojs.com>
Mon, 18 Jul 2016 07:22:18 +0000
(15:22 +0800)
committer
edward
<edward@roojs.com>
Mon, 18 Jul 2016 07:22:18 +0000
(15:22 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
8bdb053
..
2910806
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-789,11
+789,10
@@
class Pman_Core_UpdateDatabase extends Pman
if (!$g) {
$this->jerr("bcc_group {$data['bcc_group']} does not exist when importing template $name");
}
- print_R($g);
+
if (!$g->members('email')) {
$this->jerr("bcc_group {$data['bcc_group']} does not have any members");
}
- print_R($g->members('email'));exit;
$cm->bcc_group = $g->id;
}