Lines 249-261
if ($borrowernumber) {
Link Here
|
249 |
->count( { borrowernumber => $borrowernumber } ) ); |
249 |
->count( { borrowernumber => $borrowernumber } ) ); |
250 |
} |
250 |
} |
251 |
|
251 |
|
252 |
# current alert subscriptions |
|
|
253 |
my $alerts = getalert($borrowernumber); |
254 |
foreach (@$alerts) { |
255 |
$_->{ $_->{type} } = 1; |
256 |
$_->{relatedto} = findrelatedto( $_->{type}, $_->{externalid} ); |
257 |
} |
258 |
|
259 |
# Add sync data to the user data |
252 |
# Add sync data to the user data |
260 |
if ( C4::Context->preference('NorwegianPatronDBEnable') && C4::Context->preference('NorwegianPatronDBEnable') == 1 ) { |
253 |
if ( C4::Context->preference('NorwegianPatronDBEnable') && C4::Context->preference('NorwegianPatronDBEnable') == 1 ) { |
261 |
my $sync = NLGetSyncDataFromBorrowernumber( $borrowernumber ); |
254 |
my $sync = NLGetSyncDataFromBorrowernumber( $borrowernumber ); |
262 |
- |
|
|