Renamed templates + added some filters for mail order
[mailer.git] / inc / modules / member / what-support.php
index 15f52653bee302f68591dfa190ab5394cf950557..fb44a800f3530e0bc3c4423c4f41043f71129711 100644 (file)
@@ -56,11 +56,11 @@ if ((!isFormSent()) || (!isPostRequestElementSet('qsummary'))) {
 } else {
        // Load mail template based on your member's decision
        if (isExtensionInstalledAndNewer('admins', '0.4.1')) {
-               $a_tpl = 'admin_support-' . postRequestElement('qsummary');
+               $a_tpl = 'admin_support_' . postRequestElement('qsummary');
        } else {
-               $message_a = loadEmailTemplate('admin_support-' . postRequestElement('qsummary'), array('text' => postRequestElement('qdetails')), getMemberId());
+               $message_a = loadEmailTemplate('admin_support_' . postRequestElement('qsummary'), array('text' => postRequestElement('qdetails')), getMemberId());
        }
-       $message_m = loadEmailTemplate('member_support-' . postRequestElement('qsummary'), array('text' => postRequestElement('qdetails')), getMemberId());
+       $message_m = loadEmailTemplate('member_support_' . postRequestElement('qsummary'), array('text' => postRequestElement('qdetails')), getMemberId());
 
        // Select right subject
        switch (postRequestElement('qsummary')) {