]> git.mxchange.org Git - mailer.git/commitdiff
Fix for missing variable OUT, thanks to yester
authorRoland Häder <roland@mxchange.org>
Thu, 11 Aug 2011 14:32:31 +0000 (14:32 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 11 Aug 2011 14:32:31 +0000 (14:32 +0000)
inc/libs/payout_functions.php
inc/modules/member/what-support.php
templates/de/html/member/member_support_form.tpl

index e388bb0222e0a75babb959c816d0f4ab72597dee..7dea181c693d4411d0b977de9598bd8964e1884b 100644 (file)
@@ -55,6 +55,9 @@ ORDER BY
        `type` ASC",
                        array($points), __FUNCTION__, __LINE__);
                if (!SQL_HASZERONUMS($result)) {
+                       // Init output
+                       $OUT = '';
+
                        // Now let's check
                        while ($content = SQL_FETCHARRAY($result)) {
                                // Are these points enougth?
index c6a93449337e7817dd1a566c50f1023d07cc7a2a..b946503bfbe98660e659b4dff158e848fad572f9 100644 (file)
@@ -52,7 +52,7 @@ if ((!isExtensionActive('support')) && (!isAdmin())) {
 
 if ((!isFormSent()) || (!isPostRequestElementSet('qsummary'))) {
        // Output form
-       loadTemplate('member_support_form', false, getUserDataArray());
+       loadTemplate('member_support_form');
 } else {
        // Load mail template based on your member's decision
        if (isExtensionInstalledAndNewer('admins', '0.4.1')) {
index 5c815cc5b75c53a1eb22956795298ca6c0b1cd23..1642b724e70991f50d7dae8ab2305e276a7176e9 100644 (file)
@@ -9,7 +9,7 @@
 <div>
        <pre>Hallo Support-Team,
 
-Meine id bei Ihrem {?mt_word?} lautet: $content[userid]
+Meine id bei Ihrem {?mt_word?} lautet: {%pipe,getMemberId%}
        </pre>
 </div>