Lines 64-70
sub set_preference {
Link Here
|
64 |
unless ( C4::Context->config('demo') ) { |
64 |
unless ( C4::Context->config('demo') ) { |
65 |
my $value = join( ',', $query->param( 'value' ) ); |
65 |
my $value = join( ',', $query->param( 'value' ) ); |
66 |
C4::Context->set_preference( $preference, $value ); |
66 |
C4::Context->set_preference( $preference, $value ); |
67 |
logaction( 'SYSTEMPREFERENCE', 'MODIFY', undef, $preference . " | " . $value ); |
|
|
68 |
} |
67 |
} |
69 |
|
68 |
|
70 |
C4::Service->return_success( $response ); |
69 |
C4::Service->return_success( $response ); |
Lines 98-104
sub set_preferences {
Link Here
|
98 |
my $value = join( ',', $query->param( $param ) ); |
97 |
my $value = join( ',', $query->param( $param ) ); |
99 |
|
98 |
|
100 |
C4::Context->set_preference( $pref, $value ); |
99 |
C4::Context->set_preference( $pref, $value ); |
101 |
logaction( 'SYSTEMPREFERENCE', 'MODIFY', undef, $pref . " | " . $value ); |
|
|
102 |
} |
100 |
} |
103 |
} |
101 |
} |
104 |
|
102 |
|
105 |
- |
|
|