From 8d11b75540d8b49bd9855e9b68f459f25283a6f3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Wed, 28 Oct 2009 23:15:36 +0100 Subject: [PATCH] Prevents groups with empty diminutives from being created. --- modules/xnet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(*) -- 2.1.4