New (template) wrapper function fixEmptyContentToDashes() introduced, EL rewrites:
[mailer.git] / inc / modules / admin / what-sub_points.php
index 06074f5df0f0be5c1557b79b08790d32ada0676f..970de4c9a21d931fde2481f876eb67398f37a889 100644 (file)
@@ -67,7 +67,7 @@ if (getRequestParameter('userid') == 'all') {
 
                        // Load message and send it away
                        $message = loadEmailTemplate('sub-points', $content, bigintval($content['userid']));
-                       sendEmail($content['email'], '{--ADMIN_SUB_SUBJ--}', $message);
+                       sendEmail($content['email'], '{--ADMIN_SUB_SUBJECT--}', $message);
                } // END - while
 
                // Free memory
@@ -95,7 +95,7 @@ if (getRequestParameter('userid') == 'all') {
 
                        // Load email and send it away
                        $message = loadEmailTemplate('sub-points', $content, bigintval(getRequestParameter('userid')));
-                       sendEmail($content['email'], '{--ADMIN_SUB_SUBJ--}', $message);
+                       sendEmail($content['email'], '{--ADMIN_SUB_SUBJECT--}', $message);
 
                        // Output message
                        loadTemplate('admin_settings_saved', false, '{--ADMIN_POINTS_SUBTRACTED--}');