Fix filter on test/live mode for stripe card
This commit is contained in:
parent
1645c14e25
commit
4f6b0fead6
@ -841,6 +841,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
|
||||
$sql='SELECT rowid FROM '.MAIN_DB_PREFIX."societe_rib";
|
||||
$sql.=" WHERE type in ('card', 'paypal')";
|
||||
$sql.=" AND fk_soc = ".$object->id;
|
||||
$sql.=" AND status = ".$servicestatus;
|
||||
|
||||
$resql = $db->query($sql);
|
||||
if ($resql)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user