From 2b736084f3d971aacb33bc0df51dbbf1f840db4d 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 3f09673c74c..361289e1fd6 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.34.1