Fix log
This commit is contained in:
parent
7c0afbe025
commit
3f6d11cf26
@ -228,7 +228,7 @@ class Stripe extends CommonObject
|
|||||||
//$sql.= " AND sa.entity IN (".getEntity('societe').")";
|
//$sql.= " AND sa.entity IN (".getEntity('societe').")";
|
||||||
$sql.= " AND sa.type = 'card'";
|
$sql.= " AND sa.type = 'card'";
|
||||||
|
|
||||||
dol_syslog(get_class($this) . "::fetch search stripe card id for paymentmode id=".$object->id.", stripeacc=".$stripeacc, LOG_DEBUG);
|
dol_syslog(get_class($this) . "::fetch search stripe card id for paymentmode id=".$object->id.", stripeacc=".$stripeacc.", status=".$status.", createifnotlinkedtostripe=".$createifnotlinkedtostripe, LOG_DEBUG);
|
||||||
$resql = $this->db->query($sql);
|
$resql = $this->db->query($sql);
|
||||||
if ($resql) {
|
if ($resql) {
|
||||||
$num = $this->db->num_rows($resql);
|
$num = $this->db->num_rows($resql);
|
||||||
@ -236,7 +236,7 @@ class Stripe extends CommonObject
|
|||||||
{
|
{
|
||||||
$obj = $this->db->fetch_object($resql);
|
$obj = $this->db->fetch_object($resql);
|
||||||
$cardref = $obj->stripe_card_ref;
|
$cardref = $obj->stripe_card_ref;
|
||||||
dol_syslog("*************".$cardref);
|
dol_syslog("************* cardref=".$cardref);
|
||||||
if ($cardref)
|
if ($cardref)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user