Bläddra i källkod

Minor - fix codeclimate

Nosolored 6 år sedan
förälder
incheckning
648e67fd17
1 ändrade filer med 1 tillägg och 2 borttagningar
  1. 1 2
      plugin/buycourses/src/invoice.php

+ 1 - 2
plugin/buycourses/src/invoice.php

@@ -33,8 +33,7 @@ $taxAppliesTo = $globalParameters['tax_applies_to'];
 $taxEnable = $plugin->get('tax_enable') === 'true' &&
 $taxEnable = $plugin->get('tax_enable') === 'true' &&
     ($taxAppliesTo == BuyCoursesPlugin::TAX_APPLIES_TO_ALL ||
     ($taxAppliesTo == BuyCoursesPlugin::TAX_APPLIES_TO_ALL ||
     ($taxAppliesTo == BuyCoursesPlugin::TAX_APPLIES_TO_ONLY_COURSE && !$isService) ||
     ($taxAppliesTo == BuyCoursesPlugin::TAX_APPLIES_TO_ONLY_COURSE && !$isService) ||
-    ($taxAppliesTo == BuyCoursesPlugin::TAX_APPLIES_TO_ONLY_SESSION && $isService)
-);
+    ($taxAppliesTo == BuyCoursesPlugin::TAX_APPLIES_TO_ONLY_SESSION && $isService));
 
 
 $htmlText = '<html>';
 $htmlText = '<html>';
 $htmlText .= '<link rel="stylesheet" type="text/css" href="plugin.css">';
 $htmlText .= '<link rel="stylesheet" type="text/css" href="plugin.css">';