From e48301e44eabe4d99982ed87f321db73c23961a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 11 Aug 2011 14:32:31 +0000 Subject: [PATCH] Fix for missing variable OUT, thanks to yester --- inc/libs/payout_functions.php | 3 +++ inc/modules/member/what-support.php | 2 +- templates/de/html/member/member_support_form.tpl | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) 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%}
 	
-- 2.39.2