]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 10 Jun 2024 11:01:05 +0000 (12:01 +0100)
commit4231def42e1b1256428407f7c4b53da896ba29d4
tree16f7656580fe75ffafd22fd8fc75175b6d729c06
parenta9f6f47afb1ef16734d89ec0f4c3c3de497e0860
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>
Koha/ILL/Backend.pm