Skip to content

Commit

Permalink
Update alipay.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter authored Dec 31, 2023
1 parent 728a6da commit 70361fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/catalog/model/extension/payment/alipay.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private function getSignContentUrlencode($total_params) {
}

if ($param_data) {
$param_data = substr($param_data, 0, strlen($param_data) - 2);
$param_data = substr($param_data, 0, - 2);
}

return $param_data;
Expand Down

0 comments on commit 70361fa

Please sign in to comment.