Bug 27652: (follow-up) Correct typo in database update

This patch adds a missing "SET" in the database update. Before:

   UPDATE systempreferences
   value=REPLACE(value, '|', ',')

Corrected:

   UPDATE systempreferences
   SET value=REPLACE(value, '|', ',')

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Owen Leonard 2021-02-10 18:58:57 +00:00 committed by Jonathan Druart
parent 010181a6a0
commit 6b25e526bf
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ if( CheckVersion( $DBversion ) ) {
$dbh->do(q{
UPDATE systempreferences
value=REPLACE(value, '|', ',')
SET value=REPLACE(value, '|', ',')
WHERE variable="OPACHoldsIfAvailableAtPickupExceptions"
OR variable="BatchCheckoutsValidCategories"
});