Skip to content

Commit

Permalink
fixed reset method
Browse files Browse the repository at this point in the history
  • Loading branch information
FCStephanAltmann committed May 3, 2019
1 parent 419ff73 commit a5ce1a7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Services/Helper/ShopwareResetHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ private function resetShopConnectionEntity($entity)
$builder->set('a.' . $name, ':null');
}

$builder
->setParameter('null', null)
->getQuery();

/** @var Query $builder */
try {
$builder->execute();
$builder
->setParameter('null', null)
->getQuery()
->execute();

} catch (Exception $e) {
return 'failure';
}
Expand Down

0 comments on commit a5ce1a7

Please sign in to comment.