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