Commit 6a4ce5f5 authored by Kerenoc's avatar Kerenoc
Browse files

Plugin NooSFere : get volume information

parent 7604bf44
......@@ -392,12 +392,13 @@ use GCPlugins::GCbooks::GCbooksCommon;
}
elsif ($self->{isSerie} eq 2)
{
return if ($origtext eq '');
my $numero = $origtext;
$numero =~ s/,.*//;
$numero =~ s/[^0-9]*//g;
$self->{curInfo}->{volume} = $numero if ($numero =~ m/[0-9]+/);
$self->{previousText} = $origtext;
$self->{isSerie} = 0 ;
$self->{isSerie} = 0 if $numero ne '';
}
elsif ($self->{isTranslator} > 0)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment