diff --git a/Koha/CirculationRules.pm b/Koha/CirculationRules.pm index c26f572d12..6c36ba3b40 100644 --- a/Koha/CirculationRules.pm +++ b/Koha/CirculationRules.pm @@ -420,7 +420,7 @@ sub get_onshelfholds_policy { rule_name => 'onshelfholds', } ); - return $rule ? $rule->rule_value : undef; + return $rule ? $rule->rule_value : 0; } =head3 article_requestable_rules