From 14ca75e40766b9210009f91ef78787fcdcc88775 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Sat, 3 Dec 2011 07:43:15 +0100 Subject: [PATCH] Bug 6699 follow-up The warn $error will issue this message if there is a message. It's because how warn $blabla works : it does not work, you have to add "" (cherry picked from commit 869f83a4cee1e0824b5fecb3e9fa9a9d7ae807e5) Signed-off-by: Chris Nighswonger --- C4/Installer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Installer.pm b/C4/Installer.pm index ae55296433..a7eb1f6ed6 100644 --- a/C4/Installer.pm +++ b/C4/Installer.pm @@ -531,7 +531,7 @@ sub load_sql { # errors thrown while loading installer data should be logged if($error) { warn "C4::Installer::load_sql returned the following errors while attempting to load $filename:\n"; - warn $error; + warn "$error"; } return $error; } -- 2.39.5