From: Roland Häder Date: Sat, 11 Sep 2010 00:07:54 +0000 (+0000) Subject: Fix for missing variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=37a43f2538a0555c2e3dd35b3582d339bc284420;p=mailer.git Fix for missing variable --- 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--}'; }