Bug 17499: (follow-up) Fix warning
authorLari Taskula <lari.taskula@hypernova.fi>
Thu, 5 Nov 2020 18:26:42 +0000 (18:26 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 12 Sep 2023 13:16:10 +0000 (10:16 -0300)
commit124f3dadb85eb9f8c81d99732a0fa092fe3ddccd
treea1f5e3c9fb12b84af2497016b1ec8231c6bc1d89
parenta0e5f4e0d97eec2c13fb2825869fdacc259b01f2
Bug 17499: (follow-up) Fix warning

Fix warning

DBIx::Class::Storage::DBI::select_single(): Query returned more than one row.
SQL that returns multiple rows is DEPRECATED for ->find and ->single.

Sponsored-by: The National Library of Finland
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Patron/Message/Preference.pm