Lines 259-271
if ($borrowernumber) {
Link Here
|
259 |
->count( { borrowernumber => $borrowernumber } ) ); |
259 |
->count( { borrowernumber => $borrowernumber } ) ); |
260 |
} |
260 |
} |
261 |
|
261 |
|
262 |
# current alert subscriptions |
|
|
263 |
my $alerts = getalert($borrowernumber); |
264 |
foreach (@$alerts) { |
265 |
$_->{ $_->{type} } = 1; |
266 |
$_->{relatedto} = findrelatedto( $_->{type}, $_->{externalid} ); |
267 |
} |
268 |
|
269 |
# Add sync data to the user data |
262 |
# Add sync data to the user data |
270 |
if ( C4::Context->preference('NorwegianPatronDBEnable') && C4::Context->preference('NorwegianPatronDBEnable') == 1 ) { |
263 |
if ( C4::Context->preference('NorwegianPatronDBEnable') && C4::Context->preference('NorwegianPatronDBEnable') == 1 ) { |
271 |
my $sync = NLGetSyncDataFromBorrowernumber( $borrowernumber ); |
264 |
my $sync = NLGetSyncDataFromBorrowernumber( $borrowernumber ); |
272 |
- |
|
|