]> git.mxchange.org Git - mailer.git/commitdiff
Fix for missing variable
authorRoland Häder <roland@mxchange.org>
Sat, 11 Sep 2010 00:07:54 +0000 (00:07 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 11 Sep 2010 00:07:54 +0000 (00:07 +0000)
inc/modules/member/what-order.php

index 1059d778a1fffc0fc946ad6cf5a98411a07a442f..d1d18a245a857021b43c9bd5894863959f945938 100644 (file)
@@ -387,11 +387,11 @@ LIMIT 1",
                                // No enougth points left!
                                $url = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('MORE_POINTS');
                        }
-               } else  {
+               } else {
                        // Ordered more mails than he can send in this category
                        $url = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('NO_RECS_LEFT');
                }
-       }
+       } // END - if
 } elseif (postRequestParameter('receiver') == '0') {
        // Not enougth receivers selected
        $url = 'modules.php?module=login&amp;what=order&amp;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--}';
                                }