X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fcommon.pl;h=cef7fcab88b169215be3150eef9861dd7fbe397c;hb=d658bec8d9a82bd2575f556528e955f4ee170d3f;hp=64aac69ea209955e4e0b3e417cddb6a9849e4b7a;hpb=bc4337116357a3daf6232fb3d921574cd995da2a;p=kivitendo-erp.git diff --git a/bin/mozilla/common.pl b/bin/mozilla/common.pl index 64aac69ea..cef7fcab8 100644 --- a/bin/mozilla/common.pl +++ b/bin/mozilla/common.pl @@ -11,6 +11,7 @@ use Carp; use SL::Common; +use SL::DB::Helper::Mappings; use SL::DBUtils; use SL::Form; use SL::MoreCommon; @@ -390,7 +391,7 @@ sub format_dates { } sub reformat_numbers { - return $::form->format_numbers(@_); + return $::form->reformat_numbers(@_); } # ------------------------------------------------------------------------- @@ -613,13 +614,8 @@ sub gl_transaction { $main::lxdebug->leave_sub(); } -if ($::use_rdbo) { - eval { - require SL::DB::Helper::Mappings; - sub db { - goto &SL::DB::Helper::Mappings::db; - } - } or die $@; +sub db { + goto &SL::DB::Helper::Mappings::db; } 1;