From bdb8edb5b51e11f10e06ddbe4a9fc48d90ddd0db Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 27 Apr 2020 11:51:08 +0100 Subject: [PATCH] Bug 25045: (RM follow-up) Add the RESTPublicAnonymousRequests syspref The atomic update alos included a quoting mistake Signed-off-by: Martin Renvoize (cherry picked from commit 19a241c131f03a2640044ac3280759b2e6fd35bc) Signed-off-by: Aleisha Amohia --- installer/data/mysql/updatedatabase.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index fb808ce99c..391d654336 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -20596,7 +20596,7 @@ if( CheckVersion( $DBversion ) ) { INSERT IGNORE INTO `systempreferences` (`variable`,`value`,`explanation`,`options`,`type`) VALUES - ('RESTPublicAnonymousRequests', $opac_public, NULL,'If enabled, the API will allow anonymous access to public routes that don\'t require authenticated access'.','YesNo'); + ('RESTPublicAnonymousRequests', $opac_public, NULL,'If enabled, the API will allow anonymous access to public routes that don\'t require authenticated access.','YesNo'); }); NewVersion( $DBversion, 25045, "Add a way to restrict anonymous access to public routes (OpacPublic behaviour)"); -- 2.39.5