Permalink
Browse files

Encryption is not required for 'File' type option

  • Loading branch information...
1 parent a230426 commit cdee8cbee943f4b0c1f91555829ed55a97afa595 @hydrowire hydrowire committed Jul 24, 2015
Showing with 1 addition and 7 deletions.
  1. +1 −7 upload/catalog/controller/payment/pp_express.php
@@ -953,19 +953,13 @@ public function expressComplete() {
$option_data = array();
foreach ($product['option'] as $option) {
- if ($option['type'] != 'file') {
- $value = $option['option_value'];
- } else {
- $value = $this->encryption->decrypt($option['option_value']);
- }
-
$option_data[] = array(
'product_option_id' => $option['product_option_id'],
'product_option_value_id' => $option['product_option_value_id'],
'option_id' => $option['option_id'],
'option_value_id' => $option['option_value_id'],
'name' => $option['name'],
- 'value' => $value,
+ 'value' => $option['value'],
'type' => $option['type']
);
}

0 comments on commit cdee8cb

Please sign in to comment.