@ -610,7 +610,7 @@ class Paypal_model extends CI_Model {
{
$sql = "SELECT top 1 * from BIZ_ConfirmLineInfo
WHERE 1=1 ";
$tp_order ? $sql.=" and COLI_PriceMemo='$tp_order' " : "";
$tp_order ? $sql.=" and COLI_PriceMemo like '%" . $this->HT->escape_str($tp_order) . "%' " : "";
$real_orderid ? $sql.=" and COLI_ID='$real_orderid' " : "";
return $this->HT->query($sql)->row();
}