Index: branches/5.0.x/in-commerce/units/shipping_quote_engines/custom_shipping_quote_engine.php =================================================================== diff -u -r12674 -r12722 --- branches/5.0.x/in-commerce/units/shipping_quote_engines/custom_shipping_quote_engine.php (.../custom_shipping_quote_engine.php) (revision 12674) +++ branches/5.0.x/in-commerce/units/shipping_quote_engines/custom_shipping_quote_engine.php (.../custom_shipping_quote_engine.php) (revision 12722) @@ -1,6 +1,6 @@ QueryShippingCost($params['dest_country'], $params['dest_state'], $params['dest_postal'], $default_pack['weight'], $params['items'], $params['amount'], $params['shipping_type'], $params['promo_params']); $shipping_types = $db->Query($query, 'ShippingId'); - if (!$this->Application->IsAdmin()) { + if (!$this->Application->isAdminUser) { $user_groups = explode(',', $this->Application->RecallVar('UserGroups')); $filteres_shipping_types = array(); foreach ($shipping_types as $key=>$shipping_type) {