https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20495

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #7 from Jonathan Druart <[email protected]> 
---
+my $report_rec = Koha::Reports->find( $report_name ? { 'name' => $report_name
} : { 'id' => $report_id } );

This is wrong: there is no saved_sql.name column, and saved_sql.report_name is
not a uniq key (so you should ->search instead of find).

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to