From 326d4c54db908fe57a661a472152cd1a4607aebe Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 8 Jan 2007 11:08:04 +0000 Subject: [PATCH] Die Kontenbeschreibung kann auch RegExp-Zeichen enthalten -- also muss sie gequotet werden. --- bin/mozilla/ar.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl index 104228f4f..540a4f12e 100644 --- a/bin/mozilla/ar.pl +++ b/bin/mozilla/ar.pl @@ -121,7 +121,7 @@ sub create_links { $form->{rowcount} = 1; # currencies - @curr = split /:/, $form->{currencies}; + @curr = split(/:/, $form->{currencies}); chomp $curr[0]; $form->{defaultcurrency} = $curr[0]; @@ -251,9 +251,9 @@ sub create_links { "$form->{acc_trans}{$key}->[$i-1]->{accno}--$form->{acc_trans}{$key}->[$i-1]->{description}"; $form->{"${key}_$i"} = "$form->{acc_trans}{$key}->[$i-1]->{accno}--$form->{acc_trans}{$key}->[$i-1]->{description}"; + my $q_description = quotemeta($form->{acc_trans}{$key}->[$i-1]->{description}); $form->{"select${key}"} =~ - /