Here's what I've got for the Zen Cart 1.5.4 version of the file; line 140 is highlighted.
Code:
if ($error == false) {
$sql_data_array = array(array('fieldName'=>'customers_id', 'value'=>$_SESSION['customer_id'], 'type'=>'integer'),
array('fieldName'=>'entry_firstname', 'value'=>$firstname, 'type'=>'string'),
array('fieldName'=>'entry_lastname','value'=>$lastname, 'type'=>'string'),
array('fieldName'=>'entry_street_address','value'=>$street_address, 'type'=>'string'),
array('fieldName'=>'entry_postcode', 'value'=>$postcode, 'type'=>'string'),
array('fieldName'=>'entry_city', 'value'=>$city, 'type'=>'string'),
array('fieldName'=>'entry_country_id', 'value'=>$country, 'type'=>'integer')
);
Does that match with yours? What version of PHP (for completeness, I don't envision that the PHP version makes a difference)?
Bookmarks