Lines 62-70
if ( $selectview eq "full" ) {
Link Here
|
62 |
} |
62 |
} |
63 |
|
63 |
|
64 |
# now, check is there is an alert subscription for one of the subscriptions |
64 |
# now, check is there is an alert subscription for one of the subscriptions |
65 |
foreach (@$subscriptions) { |
65 |
if ($loggedinuser) { |
66 |
if (getalert($loggedinuser,'issue',$_->{subscriptionid})) { |
66 |
foreach (@$subscriptions) { |
67 |
$_->{hasalert} = 1; |
67 |
if (getalert($loggedinuser,'issue',$_->{subscriptionid})) { |
|
|
68 |
$_->{hasalert} = 1; |
69 |
} |
68 |
} |
70 |
} |
69 |
} |
71 |
} |
70 |
|
72 |
|
Lines 100-109
else {
Link Here
|
100 |
|
102 |
|
101 |
my $subscriptions = GetSubscriptionsFromBiblionumber($biblionumber); |
103 |
my $subscriptions = GetSubscriptionsFromBiblionumber($biblionumber); |
102 |
# now, check is there is an alert subscription for one of the subscriptions |
104 |
# now, check is there is an alert subscription for one of the subscriptions |
103 |
foreach (@$subscriptions) { |
105 |
if ($loggedinuser){ |
104 |
my $subscription = getalert($loggedinuser,'issue',$_->{subscriptionid}); |
106 |
foreach (@$subscriptions) { |
105 |
if (@$subscription[0]) { |
107 |
my $subscription = getalert($loggedinuser,'issue',$_->{subscriptionid}); |
106 |
$_->{hasalert} = 1; |
108 |
if (@$subscription[0]) { |
|
|
109 |
$_->{hasalert} = 1; |
110 |
} |
107 |
} |
111 |
} |
108 |
} |
112 |
} |
109 |
|
113 |
|
110 |
- |
|
|