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:
parent
7bbc358067
commit
869f83a4ce
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue