From: Janusz Dobrowolski Date: Tue, 13 Oct 2009 09:53:42 +0000 (+0000) Subject: Fixed page usage type check. X-Git-Tag: v2.4.2~19^2~1128 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=3a186256e2c2992784270129db2caf6dffc5a047;p=fa-stable.git Fixed page usage type check. --- diff --git a/sales/inquiry/sales_orders_view.php b/sales/inquiry/sales_orders_view.php index 4e03c1a0..9a0be7a5 100644 --- a/sales/inquiry/sales_orders_view.php +++ b/sales/inquiry/sales_orders_view.php @@ -35,10 +35,8 @@ if (get_post('type')) $trans_type = $_POST['type']; elseif (isset($_GET['type']) && $_GET['type'] == ST_SALESQUOTE) $trans_type = ST_SALESQUOTE; -elseif (isset($_GET['type']) && $_GET['type'] == ST_SALESORDER) - $trans_type = ST_SALESORDER; else - $page_security = 'SA_DENIED'; + $trans_type = ST_SALESORDER; if ($trans_type == ST_SALESORDER) {