SVN: toys/rsget.pl/RSGet/Get.pm
sparky
sparky at pld-linux.org
Sun Jul 25 15:28:16 CEST 2010
Author: sparky
Date: Sun Jul 25 15:28:15 2010
New Revision: 11704
Modified:
toys/rsget.pl/RSGet/Get.pm
Log:
- return error if link() list is empty
Modified: toys/rsget.pl/RSGet/Get.pm
==============================================================================
--- toys/rsget.pl/RSGet/Get.pm (original)
+++ toys/rsget.pl/RSGet/Get.pm Sun Jul 25 15:28:15 2010
@@ -419,6 +419,7 @@
sub link
{
my $self = shift;
+ return $self->error( "plugin found 0 links" ) unless @_;
my %links;
my $i = 0;
foreach ( @_ ) {
More information about the pld-cvs-commit
mailing list