From 5d0732252ab3e0ed854dce800018c01ccbad89c2 Mon Sep 17 00:00:00 2001 From: Victor Grousset/tuxayo Date: Wed, 13 Dec 2023 16:38:09 +0100 Subject: [PATCH] Bug 35496: (QA follow-up): tidy up code Signed-off-by: Katrin Fischer --- opac/opac-user.pl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/opac/opac-user.pl b/opac/opac-user.pl index 563fe2f1d2..5c7296b201 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -409,16 +409,16 @@ if ( C4::Context->preference("ArticleRequests") ) { } $template->param( - patron_messages => $patron_messages, - opacnote => $borr->{opacnote}, - patronupdate => $patronupdate, - OpacRenewalAllowed => C4::Context->preference("OpacRenewalAllowed"), - userview => 1, - SuspendHoldsOpac => C4::Context->preference('SuspendHoldsOpac'), - AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'), - OpacHoldNotes => C4::Context->preference('OpacHoldNotes'), - failed_holds => scalar $query->param('failed_holds'), - opac_user_holds => scalar $query->param('opac-user-holds') || 0, + patron_messages => $patron_messages, + opacnote => $borr->{opacnote}, + patronupdate => $patronupdate, + OpacRenewalAllowed => C4::Context->preference("OpacRenewalAllowed"), + userview => 1, + SuspendHoldsOpac => C4::Context->preference('SuspendHoldsOpac'), + AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'), + OpacHoldNotes => C4::Context->preference('OpacHoldNotes'), + failed_holds => scalar $query->param('failed_holds'), + opac_user_holds => scalar $query->param('opac-user-holds') || 0, opac_user_article_requests => scalar $query->param('opac-user-article-requests') || 0, ); -- 2.39.5