From: Roland Häder Date: Thu, 11 Aug 2011 14:32:31 +0000 (+0000) Subject: Fix for missing variable OUT, thanks to yester X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e48301e44eabe4d99982ed87f321db73c23961a6;p=mailer.git Fix for missing variable OUT, thanks to yester --- diff --git a/inc/libs/payout_functions.php b/inc/libs/payout_functions.php index e388bb0222..7dea181c69 100644 --- a/inc/libs/payout_functions.php +++ b/inc/libs/payout_functions.php @@ -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? diff --git a/inc/modules/member/what-support.php b/inc/modules/member/what-support.php index c6a9344933..b946503bfb 100644 --- a/inc/modules/member/what-support.php +++ b/inc/modules/member/what-support.php @@ -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')) { diff --git a/templates/de/html/member/member_support_form.tpl b/templates/de/html/member/member_support_form.tpl index 5c815cc5b7..1642b724e7 100644 --- a/templates/de/html/member/member_support_form.tpl +++ b/templates/de/html/member/member_support_form.tpl @@ -9,7 +9,7 @@
Hallo Support-Team,
 
-Meine id bei Ihrem {?mt_word?} lautet: $content[userid]
+Meine id bei Ihrem {?mt_word?} lautet: {%pipe,getMemberId%}