* Fixed 'counry' typo
* added country and B_country to deleteborrowers
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
`address2` text,
`city` mediumtext NOT NULL,
`zipcode` varchar(25) default NULL,
+ `country` text,
`email` mediumtext,
`phone` text,
`mobile` varchar(50) default NULL,
`B_address` varchar(100) default NULL,
`B_city` mediumtext,
`B_zipcode` varchar(25) default NULL,
+ `B_country` text,
`B_email` text,
`B_phone` mediumtext,
`dateofbirth` date default NULL,
#
$dbh->do("ALTER TABLE borrowers ADD `country` text AFTER zipcode");
$dbh->do("ALTER TABLE borrowers ADD `B_country` text AFTER B_zipcode");
+ $dbh->do("ALTER TABLE deletedborrowers ADD `country` text AFTER zipcode");
+ $dbh->do("ALTER TABLE deletedborrowers ADD `B_country` text AFTER B_zipcode");
print "Upgrade to $DBversion done (add country and B_country to borrowers)\n";
SetVersion ($DBversion);
}
# set only if parameter was passed from the form
$newdata{'city'} = $input->param('city') if defined($input->param('city'));
$newdata{'zipcode'} = $input->param('zipcode') if defined($input->param('zipcode'));
- $newdata{'country'} = $input->param('counry') if defined($input->param('country'));
+ $newdata{'country'} = $input->param('country') if defined($input->param('country'));
}
#builds default userid