[vhffs-dev] [2190] fixed split regexp for available languages

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


Revision: 2190
Author:   gradator
Date:     2012-05-12 17:02:45 +0200 (Sat, 12 May 2012)
Log Message:
-----------
fixed split regexp for available languages

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/Conf.pm

Modified: trunk/vhffs-api/src/Vhffs/Conf.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Conf.pm	2012-05-12 14:43:36 UTC (rev 2189)
+++ trunk/vhffs-api/src/Vhffs/Conf.pm	2012-05-12 15:02:45 UTC (rev 2190)
@@ -464,7 +464,7 @@
 =cut
 sub get_available_languages {
 	my $self = shift;
-	return split /\s/, $self->{'global'}{'available_languages'};
+	return split /\s+/, $self->{'global'}{'available_languages'};
 }
 
 1;


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