From 6dcb24375057524e3e3e4db2617e07914b378c96 Mon Sep 17 00:00:00 2001
From: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Date: Fri, 11 Aug 2023 13:43:31 +0000
Subject: [PATCH] Bug 25393: Use new noautorenewalbefore circulation rule in
 _CanBookBeAutoRenewed

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
---
 C4/Circulation.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/C4/Circulation.pm b/C4/Circulation.pm
index 98c66828f5..da483e0ba5 100644
--- a/C4/Circulation.pm
+++ b/C4/Circulation.pm
@@ -4511,7 +4511,7 @@ sub _CanBookBeAutoRenewed {
                 'no_auto_renewal_after',
                 'no_auto_renewal_after_hard_limit',
                 'lengthunit',
-                'norenewalbefore',
+                'noautorenewalbefore',
             ]
         }
     );
-- 
2.30.2