[Koha-bugs] [Bug 20428] MARC import fails on Debian Stretch
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Apr 2 02:42:12 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20428
--- Comment #12 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 73430
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73430
Bug 20428: Make Koha::UploadedFile use the new config entry for tmp files
Review of attachment 73430:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=20428&attachment=73430)
-----------------------------------------------------------------
::: Koha/UploadedFile.pm
@@ +169,5 @@
> sub temporary_directory {
> my ( $class ) = @_;
> + return (C4::Context->config('upload_tmp_path'))
> + ? C4::Context->config('upload_tmp_path')
> + : File::Spec->tmpdir;
Why a trinary when a || File::Spec->tmpdir would work more nicely?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list