Lines 622-627
sub execute_query {
Link Here
|
622 |
Koha::Logger->get( { prefix => 0, interface => 'reports', category => 'execute.time.end' } ) |
622 |
Koha::Logger->get( { prefix => 0, interface => 'reports', category => 'execute.time.end' } ) |
623 |
->info("Report finished: $report_id") if $report_id; |
623 |
->info("Report finished: $report_id") if $report_id; |
624 |
|
624 |
|
|
|
625 |
foreach my $header ( @{ $sth->{NAME} } ) { |
626 |
if ( $header eq 'password' ) { |
627 |
return ( $sth, { passworderr => $header } ); |
628 |
} |
629 |
} |
630 |
|
625 |
return ( $sth, { queryerr => $sth->errstr } ) if ( $sth->err ); |
631 |
return ( $sth, { queryerr => $sth->errstr } ) if ( $sth->err ); |
626 |
return ($sth); |
632 |
return ($sth); |
627 |
} |
633 |
} |