Skip to content

Commit

Permalink
update syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
anandsiddharth authored Sep 12, 2019
1 parent c06781f commit 9b0a5b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/encdec_paytm.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ function generateSalt_e($length) {
function checkString_e($value) {
$myvalue = ltrim($value);
$myvalue = rtrim($myvalue);
if (in_array($myvalue, ['null', 'NULL']))
if (in_array($myvalue, ['null', 'NULL'])) {
$myvalue = '';
}
return $myvalue;
}

Expand Down

0 comments on commit 9b0a5b9

Please sign in to comment.