From 678d0e4310e2d05892af6a0475c997aeb40e53f4 Mon Sep 17 00:00:00 2001 From: Laura_Escamilla Date: Thu, 25 Sep 2025 18:57:32 +0000 Subject: [PATCH] Bug 40879: Added OpacCiteModal system preference --- installer/data/mysql/atomicupdate/bug_40879.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_40879.pl b/installer/data/mysql/atomicupdate/bug_40879.pl index 28a9ecf585..26649b4c18 100644 --- a/installer/data/mysql/atomicupdate/bug_40879.pl +++ b/installer/data/mysql/atomicupdate/bug_40879.pl @@ -3,14 +3,14 @@ use Koha::Installer::Output qw(say_warning say_success say_info); return { bug_number => "40879", - description => "Add system preference to enable/disable the Cite option in the OPAC", + description => "Add system preference to enable or disable the Cite option in the OPAC", up => sub { my ($args) = @_; my ( $dbh, $out ) = @$args{qw(dbh out)}; # Do you stuffs here $dbh->do( - q{INSERT IGNORE INTO systempreferences (variable, value, options, explanation, VALUES ('OpacCiteModal', '1', NULL, 'Enable or disable the Cite option in the OPAC record view.', 'YesNo')} + q{INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('OpacCiteModal', '1', NULL, 'Enable or disable the Cite option in the OPAC record view.', 'YesNo')} ); # sysprefs -- 2.39.5