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 ""
This commit is contained in:
Paul Poulain 2011-12-03 07:43:15 +01:00
parent 7bbc358067
commit 869f83a4ce

View file

@ -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;
}