Lines 377-383
sub redirect_add_subscription {
Link Here
|
377 |
$staffdisplaycount, $opacdisplaycount, $graceperiod, $location, $enddate, |
377 |
$staffdisplaycount, $opacdisplaycount, $graceperiod, $location, $enddate, |
378 |
$skip_serialseq, $itemtype, $previousitemtype, $mana_id |
378 |
$skip_serialseq, $itemtype, $previousitemtype, $mana_id |
379 |
); |
379 |
); |
380 |
if ( (C4::Context->preference('Mana')) and ( grep { $_ eq "subscription" } split(/,/, C4::Context->preference('AutoShareWithMana'))) ){ |
380 |
if ( (C4::Context->preference('Mana') == 1) and ( grep { $_ eq "subscription" } split(/,/, C4::Context->preference('AutoShareWithMana'))) ){ |
381 |
my $result = Koha::SharedContent::send_entity( $query->param('mana_language') || '', $loggedinuser, $subscriptionid, 'subscription'); |
381 |
my $result = Koha::SharedContent::send_entity( $query->param('mana_language') || '', $loggedinuser, $subscriptionid, 'subscription'); |
382 |
$template->param( mana_msg => $result->{msg} ); |
382 |
$template->param( mana_msg => $result->{msg} ); |
383 |
} |
383 |
} |
384 |
- |
|
|