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