From 72580bd09f0cf2484383bd82ea7ca3f7eb00a5c0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 16 Nov 2023 08:27:10 +0100 Subject: [PATCH] Bug 35174: Do not explode if po dir does not exist Signed-off-by: Jonathan Druart --- Koha/I18N.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/I18N.pm b/Koha/I18N.pm index 3f09673c74..361289e1fd 100644 --- a/Koha/I18N.pm +++ b/Koha/I18N.pm @@ -194,7 +194,7 @@ sub _base_directory { my $dir = first { -d } @dirs; unless ($dir) { - die "The PO directory has not been found. There is a problem in your Koha installation."; + warn "The PO directory has not been found. There is a problem in your Koha installation."; } return $dir; -- 2.39.5