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

@ -456,6 +456,11 @@ class User_group extends Memcached_DataObject
$group->query('BEGIN'); $group->query('BEGIN');
if (empty($uri)) {
// fill in later...
$uri = null;
}
$group->nickname = $nickname; $group->nickname = $nickname;
$group->fullname = $fullname; $group->fullname = $fullname;
$group->homepage = $homepage; $group->homepage = $homepage;