From ed18c99995e3d2fa0200bb27ccfc30f910655c00 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 28 Sep 2005 04:53:05 +0000 Subject: [PATCH] =?utf8?q?Bug=20308318:=20Can=20create=20a=20product=20wit?= =?utf8?q?hout=20description=20but=20cannot=20remove=20an=20existing=20des?= =?utf8?q?cription=20-=20Patch=20by=20Fr=C3=A9d=C3=A9ric=20Buclin=20=20r=3Dwicked=20a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- editproducts.cgi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/editproducts.cgi b/editproducts.cgi index c7947c4289..568f463fb1 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -499,6 +499,14 @@ if ($action eq 'new') { } my $description = trim($cgi->param('description') || ''); + + if ($description eq '') { + print "You must enter a description for product '$product'. Please press\n"; + print "Back and try again.\n"; + PutTrailer($localtrailer); + exit; + } + my $milestoneurl = trim($cgi->param('milestoneurl') || ''); my $disallownew = 0; $disallownew = 1 if $cgi->param('disallownew'); -- 2.47.2