Update card.php

This commit is contained in:
Laurent Destailleur 2020-11-20 13:34:40 +01:00 committed by GitHub
parent 29dae5d9f0
commit 09cb472121
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,7 +148,7 @@ if ($action == 'update')
$object->amount = price2num(GETPOST("amount", 'alpha'));
$object->town = (string) GETPOST("town", 'alpha');
$object->zip = (string) GETPOST("zipcode", 'alpha');
$object->country_id = (int GETPOST('country_id', 'int');
$object->country_id = (int) GETPOST('country_id', 'int');
$object->email = (string) GETPOST("email", 'alpha');
$object->date = $donation_date;
$object->public = (string) GETPOST("public", 'alpha');