From 2c033bf286eef35c1885b4da92cdde50c496e948 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sat, 31 Jan 2015 00:00:02 -0500 Subject: [PATCH] set memberCount to 0 on creation --- src/groups.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/groups.js b/src/groups.js index 7e41b94b02..462a0854a8 100644 --- a/src/groups.js +++ b/src/groups.js @@ -448,6 +448,7 @@ var async = require('async'), createtime: now, userTitle: data.name, description: data.description || '', + memberCount: 0, deleted: '0', hidden: data.hidden || '0', system: system ? '1' : '0',