]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-sponsor_infos.php
Another try to fix bigintval() problem, ticket #114
[mailer.git] / inc / modules / guest / what-sponsor_infos.php
index 7e50f1ed4bdd63cf5de76066d2e6386a7fb0c981..3b95669058728ab815088a676105b811ab09aea4 100644 (file)
@@ -40,7 +40,7 @@ if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 } elseif ((!EXT_IS_ACTIVE('sponsor'))) {
-       addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'sponsor'));
+       addFatalMessage(__FILE__, __LINE__, generateExtensionInactiveMessage('sponsor'));
        return;
 }
 
@@ -88,10 +88,10 @@ if (SQL_NUMROWS($result_act) > 0) {
                        $content = array(
                                'sw'    => $SW,
                                'name'  => $content['pay_name'],
-                               'rate'  => TRANSLATE_COMMA($content['pay_rate']),
+                               'rate'  => translateComma($content['pay_rate']),
                                'min'   => $content['pay_min_count'],
                                'curr'  => $content['pay_currency'],
-                               'price' => TRANSLATE_COMMA($content['pay_min_count']),
+                               'price' => translateComma($content['pay_min_count']),
                        );
 
                        // Load row template and switch color