From: Moritz Bunkus Date: Fri, 26 Apr 2013 15:53:05 +0000 (+0200) Subject: Globales locale-Objekt nutzen X-Git-Tag: release-3.1.0beta1~454 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9466e9e0f60af5142b7afbdea1e17b3313881201;p=kivitendo-erp.git Globales locale-Objekt nutzen --- diff --git a/SL/DBUpgrade2/Base.pm b/SL/DBUpgrade2/Base.pm index 9995215c3..09e4e5fff 100644 --- a/SL/DBUpgrade2/Base.pm +++ b/SL/DBUpgrade2/Base.pm @@ -37,7 +37,7 @@ sub execute_script { sub db_error { my ($self, $msg) = @_; - die $self->locale->text("Database update error:") . "
$msg
" . $DBI::errstr; + die $::locale->text("Database update error:") . "
$msg
" . $DBI::errstr; } sub db_query {