From c5b0795e36168f1825422c546792684b999bf3b8 Mon Sep 17 00:00:00 2001 From: wolfpac444 Date: Wed, 26 Mar 2003 04:10:55 +0000 Subject: [PATCH] *** empty log message *** --- insertdata.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/insertdata.pl b/insertdata.pl index 95fe520f93..81bce7b099 100755 --- a/insertdata.pl +++ b/insertdata.pl @@ -51,7 +51,7 @@ my $query="Select * from borrowers where borrowernumber=$data{'borrowernumber'}" my $sth=$dbh->prepare($query); $sth->execute; if (my $data=$sth->fetchrow_hashref){ - $data{'dateofbirth'}=fomat_date_in_iso($data{'dateofbirth'}); + $data{'dateofbirth'}=format_date_in_iso($data{'dateofbirth'}); $data{'joining'}=format_date_in_iso($data{'joining'}); $query="update borrowers set title='$data{'title'}',expiry='$data{'expiry'}', cardnumber='$data{'cardnumber'}',sex='$data{'sex'}',ethnotes='$data{'ethnicnotes'}', @@ -67,7 +67,7 @@ if (my $data=$sth->fetchrow_hashref){ # print $query; }else{ - $data{'dateofbirth'}=fomat_date_in_iso($data{'dateofbirth'}); + $data{'dateofbirth'}=format_date_in_iso($data{'dateofbirth'}); $data{'joining'}=format_date_in_iso($data{'joining'}); $query="insert into borrowers (title,expiry,cardnumber,sex,ethnotes,streetaddress,faxnumber, firstname,altnotes,dateofbirth,contactname,emailaddress,textmessaging,dateenrolled,streetcity, -- 2.39.5