From 9466e9e0f60af5142b7afbdea1e17b3313881201 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 26 Apr 2013 17:53:05 +0200 Subject: [PATCH] Globales locale-Objekt nutzen --- SL/DBUpgrade2/Base.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1