Lines 751-757
sub _parseletter_sth {
Link Here
|
751 |
($table eq 'serial') ? "SELECT * FROM $table WHERE serialid = ?" : |
751 |
($table eq 'serial') ? "SELECT * FROM $table WHERE serialid = ?" : |
752 |
($table eq 'problem_reports') ? "SELECT * FROM $table WHERE reportid = ?" : |
752 |
($table eq 'problem_reports') ? "SELECT * FROM $table WHERE reportid = ?" : |
753 |
($table eq 'additional_contents' || $table eq 'opac_news') ? "SELECT * FROM additional_contents WHERE idnew = ?" : |
753 |
($table eq 'additional_contents' || $table eq 'opac_news') ? "SELECT * FROM additional_contents WHERE idnew = ?" : |
754 |
($table eq 'recalls') ? "SELECT * FROM $table WHERE id = ?" : |
754 |
($table eq 'recalls') ? "SELECT * FROM $table WHERE recall_id = ?" : |
755 |
undef ; |
755 |
undef ; |
756 |
unless ($query) { |
756 |
unless ($query) { |
757 |
warn "ERROR: No _parseletter_sth query for table '$table'"; |
757 |
warn "ERROR: No _parseletter_sth query for table '$table'"; |