Merged changes up to 2.3.16 into unstable
[fa-stable.git] / sales / manage / customers.php
index d7422f22034f8cd4f3dd992a805352f191a4246c..9396aa9137e3712d3a5b28d9470e347358137b17 100644 (file)
@@ -12,7 +12,7 @@
 $page_security = 'SA_CUSTOMER';
 $path_to_root = "../..";
 
-include($path_to_root . "/includes/db_pager.inc");
+include_once($path_to_root . "/includes/db_pager.inc");
 include_once($path_to_root . "/includes/session.inc");
 $js = "";
 if ($use_popup_windows)
@@ -358,12 +358,10 @@ tabbed_content_start('tabs', array(
                        break;
                case 'transactions':
                        $_GET['customer_id'] = $selected_id;
-                       $_GET['popup'] = 1;
                        include_once($path_to_root."/sales/inquiry/customer_inquiry.php");
                        break;
                case 'orders':
                        $_GET['customer_id'] = $selected_id;
-                       $_GET['popup'] = 1;
                        include_once($path_to_root."/sales/inquiry/sales_orders_view.php");
                        break;
        };