]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-support.php
More fixes for surfbar, SQL_QUERY_ESC() now escapes zeros
[mailer.git] / inc / modules / member / what-support.php
index 5a6dd3f375f4d2a1ae2378869f337d8941ea4d27..d98a7808eef7b1c5ace5dbe6a0ae178e21620649 100644 (file)
@@ -39,7 +39,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
 }
  elseif (!IS_LOGGED_IN())
 {
-       LOAD_URL(URL."/modules.php?module=index");
+       LOAD_URL("modules.php?module=index");
 }
  elseif ((!EXT_IS_ACTIVE("support")) && (!IS_ADMIN()))
 {
@@ -76,16 +76,10 @@ if ((!isset($_POST['ok'])) || (empty($_POST['qsummary'])))
                case "unconfirmed": $subj_a = SUPPORT_SUBJ_ADMIN_UNCONFIRMED; $subj_m = SUPPORT_SUBJ_MEMBER_UNCONFIRMED; break;
        }
 
-       // Send mails away
-       if (GET_EXT_VERSION("admins") >= "0.4.1")
-       {
-               SEND_ADMIN_EMAILS_PRO($subj_a, $a_tpl, $_POST['qdetails'], $GLOBALS['userid']);
-       }
-        else
-       {
-               SEND_ADMIN_EMAILS($subj_a, $msg_a);
-       }
+       // Send mail to admin
+       SEND_ADMIN_NOTIFICATION($subj_a, $a_tpl, $_POST['qdetails'], $GLOBALS['userid']);
 
+       // Send mail to user
        SEND_EMAIL($GLOBALS['userid'], $subj_m, $msg_m);
 
        // Drop a message in the admin's area