]> git.koha-community.org Git - koha.git/commit
Bug 21613: (QA follow-up) Resolve warning on $ENV{_}
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 19 Oct 2018 08:15:56 +0000 (10:15 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 29 Oct 2018 00:41:27 +0000 (00:41 +0000)
commit8c45ed8601ce8ebe6c4b2c6ccc452865921a7ae9
treef336fd511e64acb70701102750a0b9e3ec030668
parentbab5ff0645768a1283f28d651687bd1cc6d3dfbe
Bug 21613: (QA follow-up) Resolve warning on $ENV{_}

Some shells may not pass the program name in underscore, and cron also
does not like it here:
Use of uninitialized value $ENV{"_"} in pattern match (m//) at Koha/Database.pm line 79.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Database.pm