POST incorrectly defined in wishlist.php

Description

POST in whishlist is defined differently than in the template file

like:
in whishlist ($_POST['delete_prod_x'])
in whishlist.tpl delete_prod

To fix go to catalog/wishlist.php
find in line 64
if(isset($_POST['add_prod_x']) && (!isset($_POST['add_wishprod']))) {
change to:
if(isset($_POST['add_prod']) && (!isset($_POST['add_wishprod']))) {

find in line 69
if(isset($_POST['add_prod_x'])) {
change to:
if(isset($_POST['add_prod'])) {

find in line 83
if(isset($_POST['delete_prod_x']) && (!isset($_POST['add_wishprod']))) {
change to:
if(isset($_POST['delete_prod']) && (!isset($_POST['add_wishprod']))) {

find in line 88
if(isset($_POST['delete_prod_x'])) {
change to:
if(isset($_POST['delete_prod'])) {

find in line 104
if (isset($_POST['email_prod_x'])) {
change to:
if (isset($_POST['email_prod'])) {

Environment

None

Steps to reproduce

None

Status

Assignee

Michael Sasek

Reporter

greg

Labels

None

Severity

Minor

Components

Affects versions

v2.5.3

Priority

Configure