diff --git a/webht/third_party/pay/models/note_model.php b/webht/third_party/pay/models/note_model.php index 44e0ba71..21ecf0a0 100644 --- a/webht/third_party/pay/models/note_model.php +++ b/webht/third_party/pay/models/note_model.php @@ -223,7 +223,7 @@ class Note_model extends CI_Model { (ISNULL(gaib.GAI_SN, 0)+ISNULL(gai.GAI_SN, 0))=0 and COLI.COLI_ID is null and IPL_sent not in ('send','closeRecord') ) - or (ISNULL(IPL_sent,'') in ('sendfail','unsend','') + or ISNULL(IPL_sent,'') in ('sendfail','unsend','') ) ) order by isRecord asc,ipl.IPL_sent desc,IPL_sn desc";