We have set up zencart to use the Linkpoint API mod. We have also set up a product that contains attributes. However when test the api, once we check the admin page, it gives the following error:

Warning: Invalid argument supplied for foreach() in /a01/data/scate/https/commerce/includes/modules/payment/linkpoint_api/linkpoint_api_admin_notification.php on line 28

I checked this line and here's what I'm finding:

foreach ($lp_api->fields as $key=>$value){
$lp_api->fields[$key] = stripslashes($value);
}

Everything works 100% perfect when not using attributes. Anyone have any insight on this problem?