Skip to content

Commit

Permalink
Merge pull request #8369 from ptibogxiv/patch-14
Browse files Browse the repository at this point in the history
Fix database name
  • Loading branch information
eldy committed Mar 13, 2018
2 parents cd71e49 + 0f15f3c commit 475a96e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/stripe/class/stripe.class.php
Expand Up @@ -101,7 +101,7 @@ public function getStripeCustomerAccount($id, $status=0)
global $conf;

$sql = "SELECT sa.key_account as key_account, sa.entity";
$sql.= " FROM " . MAIN_DB_PREFIX . "llx_societe_account as sa";
$sql.= " FROM " . MAIN_DB_PREFIX . "societe_account as sa";
$sql.= " WHERE sa.fk_soc = " . $id;
$sql.= " AND sa.entity IN (".getEntity('societe').")";
$sql.= " AND sa.site = 'stripe' AND sa.status = ".((int) $status);
Expand Down

0 comments on commit 475a96e

Please sign in to comment.