From: Stéphane Jacob Date: Wed, 28 Oct 2009 22:15:36 +0000 (+0100) Subject: Prevents groups with empty diminutives from being created. X-Git-Tag: xorg/0.10.2~39 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=8d11b75540d8b49bd9855e9b68f459f25283a6f3;p=platal.git Prevents groups with empty diminutives from being created. --- diff --git a/modules/xnet.php b/modules/xnet.php index 5f0145e..87be73a 100644 --- a/modules/xnet.php +++ b/modules/xnet.php @@ -111,7 +111,7 @@ class XnetModule extends PLModule } } - if (Post::has('diminutif')) { + if (Post::has('diminutif') && Post::v('diminutif') != "") { S::assert_xsrf_token(); $res = XDB::query('SELECT COUNT(*)