Merged last changes from stable.
[fa-stable.git] / sales / manage / customers.php
index 93768344ec214fa20eec1d5bf4d0c56c3fe3478c..b7226e1fd9e350070ba94f721b08043cb90d60a4 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)
@@ -361,12 +361,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;
        };