]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-order.php
Adding of network type handlers finished (listing is still work-in-progress)
[mailer.git] / inc / modules / member / what-order.php
index e4cd4069471ff876dfd18625091b44a96c4b98b4..d067869ada8be5cef63a6979014791387510a819 100644 (file)
@@ -147,7 +147,7 @@ LIMIT 1",
                // Shall I test the subject line against URLs?
                if (getConfig('allow_url_in_subject') == 'Y') {
                        // Check the subject line for issues
-                       setRequestPostElement('subject', str_replace("\\", '[nl]', substr(postRequestElement('subject'), 0, 200)));
+                       setPostRequestElement('subject', str_replace("\\", '[nl]', substr(postRequestElement('subject'), 0, 200)));
                        if ((strpos(strtolower(postRequestElement('subject')), 'http://') > -1) || (strpos(strtolower(postRequestElement('subject')), "www") > -1)) {
                                // URL in subject found
                                $URL = 'modules.php?module=login&what=order&code=' . getCode('SUBJ_URL');
@@ -189,13 +189,13 @@ LIMIT 1",
                        // HTML or regular text mail?
                        if (postRequestElement('html') == 'Y') {
                                // Chek for valid HTML tags
-                               setRequestPostElement('text', checkHtmlTags(postRequestElement('text')));
+                               setPostRequestElement('text', checkHtmlTags(postRequestElement('text')));
 
                                // Maybe invalid tags found?
                                if (!isPostRequestElementSet('text')) $URL = 'modules.php?module=login&what=order&code=' . getCode('INVALID_TAGS')."&id=".$id;
                        } else {
                                // Remove any HTML code
-                               setRequestPostElement('text', str_replace('<', '{OPEN_HTML}', str_replace('>', '{CLOSE_HTML}', postRequestElement('text'))));
+                               setPostRequestElement('text', str_replace('<', '{OPEN_HTML}', str_replace('>', '{CLOSE_HTML}', postRequestElement('text'))));
                        }
                }
        } elseif (!isAdmin()) {
@@ -287,7 +287,7 @@ LIMIT 1",
                        $USED = $content['target_send'] * getPaymentPoints(bigintval(postRequestElement('type')));
 
                        // Fix empty zip code
-                       if (!isPostRequestElementSet('zip')) setRequestPostElement('zip', 0);
+                       if (!isPostRequestElementSet('zip')) setPostRequestElement('zip', 0);
 
                        // Check if he has enougth points for this order and selected more than 0 receivers
                        if (($USED > 0) && ($USED <= $total) && ($content['target_send'] > 0)) {