projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kommentar zur Namensgebung der PDF-Dateien
[kivitendo-erp.git]
/
SL
/
CVar.pm
diff --git
a/SL/CVar.pm
b/SL/CVar.pm
index
1b83121
..
6d04f35
100644
(file)
--- a/
SL/CVar.pm
+++ b/
SL/CVar.pm
@@
-357,7
+357,7
@@
sub save_custom_variables {
$sth->finish();
$sth->finish();
- $dbh->commit();
+ $dbh->commit()
unless $params{dbh}
;
$main::lxdebug->leave_sub();
}
$main::lxdebug->leave_sub();
}
@@
-658,7
+658,7
@@
sub save_custom_variables_validity {
$sth->finish();
$sth->finish();
- $dbh->commit();
+ $dbh->commit()
unless $params{dbh}
;
$main::lxdebug->leave_sub();
}
$main::lxdebug->leave_sub();
}
@@
-721,7
+721,7
@@
sub format_to_template {
# stupid template expects everything formated. except objects
# do not use outside of print routines for legacy templates
# stupid template expects everything formated. except objects
# do not use outside of print routines for legacy templates
- return $::form->
parse
_amount(\%::myconfig, $value) if $config->{type} eq 'number';
+ return $::form->
format
_amount(\%::myconfig, $value) if $config->{type} eq 'number';
return $value->to_lxoffice if $config->{type} eq 'date' && blessed $value && $value->can('to_lxoffice');
return $value;
}
return $value->to_lxoffice if $config->{type} eq 'date' && blessed $value && $value->can('to_lxoffice');
return $value;
}