From ed67cf0a065441bc1d2847e75fe081040e067245 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 31 Oct 2023 18:00:06 +0000 Subject: [PATCH] Bug 34438: (follow-up): Amend kohastructure.sql Signed-off-by: David Nind Signed-off-by: Katrin Fischer --- installer/data/mysql/kohastructure.sql | 1 + opac/opac-memberentry.pl | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql index 64fa14a016..fd83a37638 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -1427,6 +1427,7 @@ CREATE TABLE `borrower_modifications` ( `extended_attributes` mediumtext DEFAULT NULL, `gdpr_proc_consent` datetime DEFAULT NULL COMMENT 'data processing consent', `primary_contact_method` varchar(45) DEFAULT NULL COMMENT 'useful for reporting purposes', + `lang` varchar(25) DEFAULT NULL, PRIMARY KEY (`verification_token`(191),`borrowernumber`), KEY `verification_token` (`verification_token`(191)), KEY `borrowernumber` (`borrowernumber`) diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl index 74e7cb9f31..a0f5a3ace2 100755 --- a/opac/opac-memberentry.pl +++ b/opac/opac-memberentry.pl @@ -100,8 +100,6 @@ if ( defined $min ) { ); } -my $defaultCategory = Koha::Patron::Categories->find(C4::Context->preference('PatronSelfRegistrationDefaultCategory')); - my $translated_languages = C4::Languages::getTranslatedLanguages( 'opac', C4::Context->preference('template') ); $template->param( -- 2.30.2