X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/72539cb39a3d19f930a8e0e41e46bf41afe9a8f1..8b68b3f8f2cc88d620b484a2219c85f6ff4d78a8:/SL/Form.pm
diff --git a/SL/Form.pm b/SL/Form.pm
index 8670d604c..fe9d2b862 100644
--- a/SL/Form.pm
+++ b/SL/Form.pm
@@ -37,6 +37,8 @@
package Form;
+use HTML::Template;
+
sub _input_to_hash {
$main::lxdebug->enter_sub();
@@ -141,7 +143,6 @@ sub new {
$self->{action} =~ s/( |-|,|#)/_/g;
$self->{version} = "2.2.0";
- $self->{dbversion} = "2.2.0";
$main::lxdebug->leave_sub();
@@ -196,7 +197,7 @@ sub quote {
my ($self, $str) = @_;
if ($str && !ref($str)) {
- $str =~ s/"/"/g;
+ $str =~ s/\"/"/g;
}
$str;
@@ -207,7 +208,7 @@ sub unquote {
my ($self, $str) = @_;
if ($str && !ref($str)) {
- $str =~ s/"/"/g;
+ $str =~ s/"/\"/g;
}
$str;
@@ -243,17 +244,7 @@ sub error {
$msg =~ s/\n/
/g;
$self->header;
-
- print qq|
-
$msg - - -