diff --git a/installer/data/mysql/atomicupdate/bug_41084.pl b/installer/data/mysql/atomicupdate/bug_41084.pl index c41673918a..93e476a704 100755 --- a/installer/data/mysql/atomicupdate/bug_41084.pl +++ b/installer/data/mysql/atomicupdate/bug_41084.pl @@ -1,4 +1,5 @@ use Modern::Perl; +use Koha::Installer::Output qw(say_warning say_success say_info); return { bug_number => "41084", @@ -9,11 +10,11 @@ return { $dbh->do( q{ - INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES - ('EnableZotero','1','','Enable Zotero export functionality','YesNo') + INSERT IGNORE INTO systempreferences (variable,value) VALUES + ('EnableZotero','1') } ); - say $out "Added new system preference 'EnableZotero'"; + say_success( $out, "Added new system preference 'EnableZotero'" ); }, };