Mahor rewrite:
[mailer.git] / inc / modules / member / what-unconfirmed.php
index f381e4322480472c52f19a8610b752aeef49717f..0d010865aeb908cff548dc0fd419723c919a5187 100644 (file)
@@ -188,7 +188,7 @@ LIMIT 1",
                        );
 
                        // Load row template
-                       if ($_CONFIG['show_points_unconfirmed'] == "Y") {
+                       if (getConfig('show_points_unconfirmed') == "Y") {
                                $OUT .= LOAD_TEMPLATE("member_unconfirmed_row", true, $content);
                        } else {
                                $OUT .= LOAD_TEMPLATE("member_unconfirmed_row_nopoints", true, $content);
@@ -205,7 +205,7 @@ LIMIT 1",
                        );
 
                        // Display points or not?
-                       if ($_CONFIG['show_points_unconfirmed'] == "Y") {
+                       if (getConfig('show_points_unconfirmed') == "Y") {
                                $OUT .= LOAD_TEMPLATE("member_unconfirmed_404", true, $content);
                        } else {
                                $OUT .= LOAD_TEMPLATE("member_unconfirmed_404_nopoints", true, $content);
@@ -229,7 +229,7 @@ LIMIT 1",
        define('__UNCONFIRMED_ROWS', $OUT);
 
        // Load main template
-       if ($_CONFIG['show_points_unconfirmed'] == "Y") {
+       if (getConfig('show_points_unconfirmed') == "Y") {
                LOAD_TEMPLATE("member_unconfirmed_table");
        } else {
                LOAD_TEMPLATE("member_unconfirmed_table_nopoints");