Ignore:
Timestamp:
Apr 6, 2020, 11:56:19 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Do not use parenthesis around returned value.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/FinanceBankAPI/FioAPI.php

    r873 r874  
    77function RemoveComma($Text)
    88{
    9   if ((mb_strlen($Text) >= 2) and ($Text[0] == '"') and (mb_substr($Text, -1, 1) == '"')) return (mb_substr($Text, 1, -1));
    10     else return ($Text);
     9  if ((mb_strlen($Text) >= 2) and ($Text[0] == '"') and (mb_substr($Text, -1, 1) == '"')) return mb_substr($Text, 1, -1);
     10    else return $Text;
    1111}
    1212
     
    9797        }
    9898      }
    99       return ($Result);
     99      return $Result;
    100100    }
    101101  }
Note: See TracChangeset for help on using the changeset viewer.