From 37a43f2538a0555c2e3dd35b3582d339bc284420 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 11 Sep 2010 00:07:54 +0000 Subject: [PATCH] Fix for missing variable --- inc/modules/member/what-order.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/modules/member/what-order.php b/inc/modules/member/what-order.php index 1059d778a1..d1d18a245a 100644 --- a/inc/modules/member/what-order.php +++ b/inc/modules/member/what-order.php @@ -387,11 +387,11 @@ LIMIT 1", // No enougth points left! $url = 'modules.php?module=login&what=order&code=' . getCode('MORE_POINTS'); } - } else { + } else { // Ordered more mails than he can send in this category $url = 'modules.php?module=login&what=order&code=' . getCode('NO_RECS_LEFT'); } - } + } // END - if } elseif (postRequestParameter('receiver') == '0') { // Not enougth receivers selected $url = 'modules.php?module=login&what=order&code=' . getCode('MORE_RECEIVERS1'); @@ -465,7 +465,7 @@ LIMIT 1", array(bigintval($ucat)), __FILE__, __LINE__); // Fetch entry - list($cnt) = SQL_FETCHROW($result); + list($cnt) = SQL_FETCHROW($result_holiday); // Free memory SQL_FREERESULT($result_holiday); @@ -579,7 +579,7 @@ LIMIT 1", } else { // Default output for that your members don't forget it... $content['url'] = 'http://'; - $content['target_send'] = getConfig('order_min'); + $content['target_send'] = '{?order_min?}'; $content['subject'] = '{--ORDER_DEFAULT_SUBJECT--}'; $content['text'] = '{--ORDER_DEFAULT_TEXT--}'; } -- 2.39.5