Skip to content

Commit

Permalink
fix stopping of current transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
paresy authored Jul 12, 2024
1 parent 458d0fb commit b518135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OCPP Charging Point/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function RemoteStopTransaction(int $TransactionId)
public function RemoteStopCurrentTransaction(int $ConnectorId)
{
$ident = sprintf('TransactionID_%d', $ConnectorId);
$this->send($this->getRemoteStopTransactionRequest($this->GetIDForIdent($ident)));
$this->send($this->getRemoteStopTransactionRequest(GetValue($this->GetIDForIdent($ident))));
}

private function send($message)
Expand Down

0 comments on commit b518135

Please sign in to comment.