projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32dd7fa
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Fri, 3 Jun 2016 07:10:49 +0000
(15:10 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 3 Jun 2016 07:10:49 +0000
(15:10 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
7f183a5
..
58352ba
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-741,6
+741,11
@@
class Pman_Core_UpdateDatabase extends Pman
if (!$g) {
$this->jerr("bcc_group {$data['bcc_group']} does not exist when importing template $name");
}
+ if (!strlen($g->members('email'))) {
+ $this->jerr("bcc_group {$data['bcc_group']} does not have any members");
+ }
+
+
$cm->bcc_group = $g->id;
}
if (empty($cm->test_class)) {