Even some more HTML cleanups
[mailer.git] / inc / modules / member / what-order.php
index d85b9fe..8967f75 100644 (file)
@@ -646,10 +646,8 @@ LIMIT 1",
                                        loadTemplate('member_order_page2', false, $content);
                                } else {
                                        // Remember maybe entered ZIP code in constant
-                                       $add = '';
                                        if (isExtensionActive('html_mail')) {
                                                // Add some content when html extension is active
-                                               if ((getConfig('order_multi_page') == 'Y') || (isAdmin())) $add = '<tr><td colspan="3" class="seperator bottom" height="5">&nbsp;</td></tr>';
                                                $content['html_extension'] = loadTemplate('member_order-html_intro', true);
                                        } else {
                                                // No HTML extension installed
@@ -664,13 +662,11 @@ LIMIT 1",
                                                // Yes
                                                if (postRequestParameter('zip') > 0) {
                                                        $data = array(
-                                                               'zip' => bigintval(postRequestParameter('zip')),
-                                                               'add' => $add
+                                                               'zip' => bigintval(postRequestParameter('zip'))
                                                        );
                                                } else {
                                                        $data = array(
-                                                               'zip' => '',
-                                                               'add' => $add
+                                                               'zip' => ''
                                                        );
                                                }
                                                $content['zip_content'] = loadTemplate('member_order-zip1', true, $data);