Bug 25638: Fix regression
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 5 Jun 2020 14:09:46 +0000 (16:09 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 7 Jun 2020 10:01:00 +0000 (12:01 +0200)
commitf4f3c8f18b5587ad8629b77b457e9593d781dac6
treeb8742e3e04f11ecdbfbba041f7fa6473c37a3d70
parent8dfbc46aa4bebffb5e7bd262612ef9d08d24e5d3
Bug 25638: Fix regression

Now that float/decimal columns are not treated similar to integer ones,
the default value handling we had set for numeric values is not trapping
the float/decimal cases as it should.

We love tests!

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Object.pm