Update ipn.php

This commit is contained in:
ptibogxiv 2018-03-08 20:08:43 +01:00 committed by GitHub
parent 415332c22a
commit 432aa50812
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,7 @@ $user = new User($db);
$user->fetch(5);
$user->getrights();
if (! empty($conf->stripeconnect->enabled) && ! empty($conf->multicompany>enabled)) {
if (! empty($conf->stripeconnect->enabled) && ! empty($conf->multicompany->enabled)) {
$sql = "SELECT entity";
$sql.= " FROM ".MAIN_DB_PREFIX."stripe_entity";
$sql.= " WHERE key_account = '".$event->account."'";
@ -332,4 +332,4 @@ elseif ($event->type == 'customer.deleted') {
?>
?>