Lines 33-38
use C4::Members::Messaging qw( SetMessagingPreferencesFromDefaults );
Link Here
|
33 |
use Koha::AuthUtils; |
33 |
use Koha::AuthUtils; |
34 |
use Koha::Patrons; |
34 |
use Koha::Patrons; |
35 |
use Koha::Patron::Consent; |
35 |
use Koha::Patron::Consent; |
|
|
36 |
use Koha::Patron::Consents; |
36 |
use Koha::Patron::Modification; |
37 |
use Koha::Patron::Modification; |
37 |
use Koha::Patron::Modifications; |
38 |
use Koha::Patron::Modifications; |
38 |
use C4::Scrubber; |
39 |
use C4::Scrubber; |
Lines 392-398
elsif ( $op eq 'edit' ) { #Display logged in borrower's data
Link Here
|
392 |
$template->param( patron_attribute_classes => GeneratePatronAttributesForm( $borrowernumber ) ); |
393 |
$template->param( patron_attribute_classes => GeneratePatronAttributesForm( $borrowernumber ) ); |
393 |
} else { |
394 |
} else { |
394 |
# Render self-registration page |
395 |
# Render self-registration page |
395 |
$template->param( patron_attribute_classes => GeneratePatronAttributesForm() ); |
396 |
my $consent_types = Koha::Patron::Consents->available_types; |
|
|
397 |
$template->param( |
398 |
consent_types => $consent_types, |
399 |
patron_attribute_classes => GeneratePatronAttributesForm() |
400 |
); |
396 |
} |
401 |
} |
397 |
|
402 |
|
398 |
my $captcha = random_string("CCCCC"); |
403 |
my $captcha = random_string("CCCCC"); |
399 |
- |
|
|