]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/payout_functions.php
Another try... :(
[mailer.git] / inc / libs / payout_functions.php
index e52aa4941a54576c8bb66be602137b7e0306dca1..84357a9f77d19751c07683abd07a9a1cf30504bc 100644 (file)
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 }
 
 //
 function PAYOUT_OUTPUT_PAYOUT_LIST ($points) {
        // Replace german decimal comma with CPU's decimal dot
-       $points = REVERT_COMMA($points);
+       $points = convertCommaToDot($points);
 
        // Enougth points?
        if ($points > 0) {