[vhffs-dev] [397] Fixes group length condition.

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 397
Author:   gradator
Date:     2007-01-14 14:39:35 +0000 (Sun, 14 Jan 2007)

Log Message:
-----------
Fixes group length condition.

Modified Paths:
--------------
    branches/vhffs_4.1/vhffs-panel/group/project_submit.pl
    trunk/vhffs-panel/group/project_submit.pl


Modified: branches/vhffs_4.1/vhffs-panel/group/project_submit.pl
===================================================================
--- branches/vhffs_4.1/vhffs-panel/group/project_submit.pl	2007-01-13 00:14:37 UTC (rev 396)
+++ branches/vhffs_4.1/vhffs-panel/group/project_submit.pl	2007-01-14 14:39:35 UTC (rev 397)
@@ -72,7 +72,7 @@
 {
 		$message = gettext("The groupname should contain at least 3 caracters and must contain only letters or numbers in lower case");
 }
-elsif( length( $groupname ) >= 12 )
+elsif( length( $groupname ) > 12 )
 {
 		$message = gettext("The groupname can have no more than 12 caracters.");
 }

Modified: trunk/vhffs-panel/group/project_submit.pl
===================================================================
--- trunk/vhffs-panel/group/project_submit.pl	2007-01-13 00:14:37 UTC (rev 396)
+++ trunk/vhffs-panel/group/project_submit.pl	2007-01-14 14:39:35 UTC (rev 397)
@@ -72,7 +72,7 @@
 {
 		$message = gettext("The groupname should contain at least 3 caracters and must contain only letters or numbers in lower case");
 }
-elsif( length( $groupname ) >= 12 )
+elsif( length( $groupname ) > 12 )
 {
 		$message = gettext("The groupname can have no more than 12 caracters.");
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/