Skip to content

Commit

Permalink
Merge pull request #1348 from bthorben/patch-1
Browse files Browse the repository at this point in the history
Escape special chars in product name and model
  • Loading branch information
Daniel Kerr committed Apr 17, 2014
2 parents 81fab2e + 92ee3fd commit 274ad83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions upload/catalog/controller/payment/pp_standard.php
Expand Up @@ -43,8 +43,8 @@ public function index() {
}

$data['products'][] = array(
'name' => $product['name'],
'model' => $product['model'],
'name' => htmlspecialchars($product['name']),
'model' => htmlspecialchars($product['model']),
'price' => $this->currency->format($product['price'], $order_info['currency_code'], false, false),
'quantity' => $product['quantity'],
'option' => $option_data,
Expand Down Expand Up @@ -194,4 +194,4 @@ public function callback() {
curl_close($curl);
}
}
}
}

0 comments on commit 274ad83

Please sign in to comment.