[vhffs-dev] [1475] fixed reference on an undefined value

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


Revision: 1475
Author:   gradator
Date:     2009-07-23 11:53:30 +0200 (Thu, 23 Jul 2009)

Log Message:
-----------
fixed reference on an undefined value

Modified Paths:
--------------
    trunk/vhffs-robots/src/mail_delete.pl


Modified: trunk/vhffs-robots/src/mail_delete.pl
===================================================================
--- trunk/vhffs-robots/src/mail_delete.pl	2009-07-17 21:05:23 UTC (rev 1474)
+++ trunk/vhffs-robots/src/mail_delete.pl	2009-07-23 09:53:30 UTC (rev 1475)
@@ -77,7 +77,7 @@
 
 	if( defined($dir) && -d $dir && -r _ && -w _ && -x _ )  {
 		my $dir = $mail->get_dir;
-		my $errors;
+		my $errors=[];
 		File::Path::rmtree( $mail->get_dir, { error => \$errors });
 		# Mail domain directories are hashed on two levels, so we've 3 potentially
 		# empty directories to delete


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