From 8477099deeafeb11b09910821e8ee8d206527b06 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 4 Jul 2024 09:40:17 +0100 Subject: [PATCH] Bug 18317: (QA follow-up) Fix missing `,` Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- installer/data/mysql/atomicupdate/bug_18317.pl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_18317.pl b/installer/data/mysql/atomicupdate/bug_18317.pl index 8ef88b0515..a9df149072 100755 --- a/installer/data/mysql/atomicupdate/bug_18317.pl +++ b/installer/data/mysql/atomicupdate/bug_18317.pl @@ -1,16 +1,18 @@ use Modern::Perl; return { - bug_number => "18317", - description => "Allow check out of already checked out items through SIP" - up => sub { + bug_number => "18317", + description => "Allow check out of already checked out items through SIP", + up => sub { my ($args) = @_; my ( $dbh, $out ) = @$args{qw(dbh out)}; - $dbh->do(q{ + $dbh->do( + q{ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES ('AllowItemsOnLoanCheckoutSIP','0','','Do not generate ISSUED_TO_ANOTHER warning when checking out items already checked out to someone else via SIP. This allows self checkouts for those items.','YesNo') - }); + } + ); say $out "Added new system preference 'AllowItemsOnLoanCheckoutSIP'"; }, -- 2.39.5