Skip to content

Commit

Permalink
FIX #31724 (#31885)
Browse files Browse the repository at this point in the history
* FIX TakePOS : Undefined variable $servicestatus in pay.php on lines 126, 368 and 392 when stripe is not enabled #31724

TakePOS : Undefined variable $servicestatus in pay.php on lines 126, 368 and 392 when stripe is not enabled #31724

* nettoyage ligne 89 whitespace
  • Loading branch information
Delthair authored Nov 15, 2024
1 parent 4b9a5db commit c2a7c4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/takepos/pay.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,11 @@
<?php

$usestripeterminals = 0;
$servicestatus = 0;

if (isModEnabled('stripe')) {
$service = 'StripeTest';
$servicestatus = 0;

if (getDolGlobalString('STRIPE_LIVE') && !GETPOST('forcesandbox', 'alpha')) {
$service = 'StripeLive';
$servicestatus = 1;
Expand Down

0 comments on commit c2a7c4b

Please sign in to comment.