fix postgre error
This commit is contained in:
parent
8c164db2f9
commit
76f221aee0
@ -417,7 +417,7 @@ if ($event->type == 'payout.created') {
|
||||
$sql = "SELECT p.id, p.fk_bank FROM llx_paiement as p";
|
||||
$sql .= " WHERE p.ext_payment_id = '".$db->escape($paiement->ext_payment_id)."'";
|
||||
$sql .= " AND p.ext_payment_site = '".$db->escape($paiement->ext_payment_site)."'";
|
||||
$sql .= " AND p.fk_bank <> '0'";
|
||||
$sql .= " AND p.fk_bank <> 0";
|
||||
$result = $db->query($sql);
|
||||
if ($result) {
|
||||
if ($db->num_rows($result)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user