Avoid notice on local group creation when uri isn't passed in at create time (needs to be generated)
This commit is contained in:
parent
5c70481d30
commit
7e5bf39f76
@ -455,6 +455,11 @@ class User_group extends Memcached_DataObject
|
||||
$group = new User_group();
|
||||
|
||||
$group->query('BEGIN');
|
||||
|
||||
if (empty($uri)) {
|
||||
// fill in later...
|
||||
$uri = null;
|
||||
}
|
||||
|
||||
$group->nickname = $nickname;
|
||||
$group->fullname = $fullname;
|
||||
|
Loading…
Reference in New Issue
Block a user