]> git.koha-community.org Git - koha.git/commit
Bug 34838: Only call strings_map if status_alias is not undef in status_alias cycle
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Tue, 26 Sep 2023 09:33:08 +0000 (09:33 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 27 Jun 2024 16:21:39 +0000 (16:21 +0000)
commit804f8b4fbbcd73c83a0fca399106dc69d3234a2d
treee9a4cda720b92b0df6c0dbea8a17d918a9239dd5
parent6909c637bdaf2b8dcaf6d895be62d690068ca1a2
Bug 34838: Only call strings_map if status_alias is not undef in status_alias cycle

Because its highly likely that at least one request will have status_alias null in the database, the select MAX query will always return at least one result with NULL status_alias, throwing a warning, so we skip that

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 4231def42e1b1256428407f7c4b53da896ba29d4)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/ILL/Backend.pm