summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-03 12:57:40 -0800
committerBrion Vibber <brion@pobox.com>2010-03-03 12:57:40 -0800
commit7e5bf39f768e3c97ddb5b82ad20a690b674f1f47 (patch)
tree40c955506a0a4ab59f2d6af6f6dc38e694d341b5
parent5c70481d30a82c3f2fe91ef5b24be29b8464ae49 (diff)
Avoid notice on local group creation when uri isn't passed in at create time (needs to be generated)
-rw-r--r--classes/User_group.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/User_group.php b/classes/User_group.php
index 1a5ddf253..0460c9870 100644
--- a/classes/User_group.php
+++ b/classes/User_group.php
@@ -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;