View | Details | Raw Unified | Return to bug 37476
Collapse All | Expand All

(-)a/C4/Serials.pm (-2 / +1 lines)
Lines 2023-2029 sub addroutingmember { Link Here
2023
2023
2024
    my $rank;
2024
    my $rank;
2025
    my $dbh = C4::Context->dbh;
2025
    my $dbh = C4::Context->dbh;
2026
    my $sth = $dbh->prepare( "SELECT max(ranking) rank FROM subscriptionroutinglist WHERE subscriptionid = ?" );
2026
    my $sth = $dbh->prepare( "SELECT max(ranking) `rank` FROM subscriptionroutinglist WHERE subscriptionid = ?" );
2027
    $sth->execute($subscriptionid);
2027
    $sth->execute($subscriptionid);
2028
    while ( my $line = $sth->fetchrow_hashref ) {
2028
    while ( my $line = $sth->fetchrow_hashref ) {
2029
        if ( defined $line->{rank} && $line->{rank} > 0 ) {
2029
        if ( defined $line->{rank} && $line->{rank} > 0 ) {
2030
- 

Return to bug 37476