This needs to be a prepared statement.
This commit is contained in:
parent
57411034af
commit
6c71c75a2c
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ my $sthInsertRequest = $dbhNew->prepare('INSERT INTO request' .
|
||||||
"values(?, ?, ?, date('now'), ?," .
|
"values(?, ?, ?, date('now'), ?," .
|
||||||
'"import of old database; exact date of this request is unknown")');
|
'"import of old database; exact date of this request is unknown")');
|
||||||
|
|
||||||
my $sthPostalAddress = 'INSERT INTO postal_address(formatted_address, type_id, date_encountered)' .
|
my $sthPostalAddress = $dbhNew->prepare('INSERT INTO postal_address(formatted_address, type_id, date_encountered)' .
|
||||||
"VALUES(?, $paypalPayerTypeId, date('now'))";
|
"VALUES(?, $paypalPayerTypeId, date('now'))");
|
||||||
|
|
||||||
my $sthOld = $dbhOld->prepare('SELECT * from supporters order by id;');
|
my $sthOld = $dbhOld->prepare('SELECT * from supporters order by id;');
|
||||||
$sthOld->execute();
|
$sthOld->execute();
|
||||||
|
|
Loading…
Reference in a new issue