public static function saveGroup() { $result = array(); $default = isset($_GET['default']) && $_GET['default'] == 'on' ? true : false; // VQMOD-hookpoint; DO NOT MODIFY OR REMOVE THE LINE BELOW $saved = lC_Customer_groups_Admin::save($_GET['cgid'], $_GET, $default); if ($saved > 0) { $result['rpcStatus'] = RPC_STATUS_SUCCESS; } echo json_encode($result); }