From 21569e4da0657b69a8b0c2a8209a5fc525b4745c Mon Sep 17 00:00:00 2001 From: lyt Date: Fri, 26 Apr 2019 11:06:34 +0800 Subject: [PATCH] =?UTF-8?q?paypal=20Trippest=E6=94=B6=E6=AC=BE=E7=9A=84?= =?UTF-8?q?=E5=8F=91=E9=80=81=E7=8A=B6=E6=80=81=E6=94=B9=E5=88=B0=E5=92=8C?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E4=B8=80=E8=B5=B7=E5=A4=84=E7=90=86,?= =?UTF-8?q?=E9=81=BF=E5=85=8D=E5=8D=A1=E4=BD=8F=E5=85=B6=E4=BB=96=E5=8F=91?= =?UTF-8?q?=E9=80=81=E5=A4=B1=E8=B4=A5=E7=9A=84=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/paypal/models/note_model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webht/third_party/paypal/models/note_model.php b/webht/third_party/paypal/models/note_model.php index c534e41f..0cd9ecd4 100644 --- a/webht/third_party/paypal/models/note_model.php +++ b/webht/third_party/paypal/models/note_model.php @@ -31,14 +31,14 @@ class Note_model extends CI_Model { public function unsend($topnum = 2) { $this->init(); $this->topnum = $topnum; - $this->pn_send = " AND (pn_send='unsend' OR pn_send='' OR pn_send IS NULL) "; + $this->pn_send = " AND (pn_send='unsend' OR pn_send IS NULL) "; return $this->get_list(); } public function failnote($topnum = 2) { $this->init(); $this->topnum = $topnum; - $this->pn_send = " AND pn_send='sendfail' "; + $this->pn_send = " AND (pn_send='sendfail' OR pn_send='') "; //$this->orderby = ' ORDER BY pn.pn_sn ASC '; return $this->get_list(); }