Bug 28948: Remove FIXME
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 7 Oct 2021 17:51:51 +0000 (14:51 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 28 Oct 2021 15:32:34 +0000 (17:32 +0200)
commite0de8364b7c197cd3bd1b70f93766ecc6da11216
treee0cda73a74e27997080962d97a97af96650d8612
parent31e9ccfe70db09de407f05589fe3a28b70234cdb
Bug 28948: Remove FIXME

This patch reproduces what we did for `to_api_mapping`: make it always
present on Koha::Object classes. This has the side-effect of... making
things more secure!

Before this patch, if undefined, all attributes were returned.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Object.pm