Avoid notice on local group creation when uri isn't passed in at create time (needs to be generated)

This commit is contained in:
Brion Vibber 2010-03-03 12:57:40 -08:00
parent 5c70481d30
commit 7e5bf39f76

View File

@ -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;