[vhffs-dev] [541] Undeclared variable caused Internal Server Error

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


Revision: 541
Author:   beuss
Date:     2007-04-05 16:02:02 +0000 (Thu, 05 Apr 2007)

Log Message:
-----------
Undeclared variable caused Internal Server Error

Modified Paths:
--------------
    branches/vhffs_4.1/vhffs-panel/mailinglist/submit.pl


Modified: branches/vhffs_4.1/vhffs-panel/mailinglist/submit.pl
===================================================================
--- branches/vhffs_4.1/vhffs-panel/mailinglist/submit.pl	2007-04-05 15:46:05 UTC (rev 540)
+++ branches/vhffs_4.1/vhffs-panel/mailinglist/submit.pl	2007-04-05 16:02:02 UTC (rev 541)
@@ -106,11 +106,11 @@
 
     if( ref($lst) )	{
         $message = gettext("Mailing-list successfully created !");
-    } elsif( $retour == -1 ) {
+    } elsif( $lst == -1 ) {
         $message = gettext("An error occured while creating the list");
-    } elsif( $retour == -2 ) {
+    } elsif( $lst == -2 ) {
 		$message = gettext("An error occured while adding yourself to the ACL");
-    } elsif( $retour == -3 ) {
+    } elsif( $lst == -3 ) {
         $message = gettext("An error occured while adding an ACL for the group");
     } else {
         $message = gettext("Error while creating list (unknow problem)");


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