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

(-)a/C4/Letters.pm (-2 / +1 lines)
Lines 563-569 sub _parseletter_sth { Link Here
563
    ($table eq 'aqbooksellers') ? "SELECT * FROM $table WHERE             id = ?"                                  :
563
    ($table eq 'aqbooksellers') ? "SELECT * FROM $table WHERE             id = ?"                                  :
564
    ($table eq 'aqorders'     ) ? "SELECT * FROM $table WHERE    ordernumber = ?"                                  :
564
    ($table eq 'aqorders'     ) ? "SELECT * FROM $table WHERE    ordernumber = ?"                                  :
565
    ($table eq 'opac_news'    ) ? "SELECT * FROM $table WHERE          idnew = ?"                                  :
565
    ($table eq 'opac_news'    ) ? "SELECT * FROM $table WHERE          idnew = ?"                                  :
566
    ($table eq 'borrower_modifications') ? "SELECT * FROM $table WHERE borrowernumber = ? OR verification_token =?":
566
    ($table eq 'borrower_modifications') ? "SELECT * FROM $table WHERE ( borrowernumber = 0 OR borrowernumber = ? ) AND ( verification_token = '' OR verification_token = ? ) AND ( verification_token != '' OR borrowernumber != 0 )" :
567
    undef ;
567
    undef ;
568
    unless ($query) {
568
    unless ($query) {
569
        warn "ERROR: No _parseletter_sth query for table '$table'";
569
        warn "ERROR: No _parseletter_sth query for table '$table'";
570
- 

Return to bug 12371