[Koha-bugs] [Bug 30025] Split BiblioAddsAuthorities into 2 preferences

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 5 11:42:35 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30025

--- Comment #34 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
        my $biblio_adds_authorities =
C4::Context->preference('BiblioAddsAuthorities');
        # Do you stuffs here
        $dbh->do(q{
            INSERT IGNORE INTO systempreferences
            ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
            ('RequireChoosingExistingAuthority',?,NULL,'Require selecting
existing authority entry in controlled fields during cataloging.','YesNo'),
            ('AutoLinkBiblios',?,NULL,'If enabled, link biblio to authorities
on creation and edit','YesNo')
        },undef,($biblio_adds_authorities eq '1' ? '0' : '1',
$biblio_adds_authorities));

Use of uninitialized value $biblio_adds_authorities in string eq at
/usr/share/koha/installer/data/mysql/db_revs/220600047.pl line 11.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list