Modif mineure

This commit is contained in:
Rodolphe Quiedeville 2005-01-11 10:30:33 +00:00
parent 5c4944f9e7
commit 6ac0358e60

View File

@ -277,12 +277,13 @@ class Paiement
}
/**
* \brief Valide la paiement
* \brief Valide le paiement
*/
function valide()
{
$sql = "UPDATE ".MAIN_DB_PREFIX."paiement SET statut = 1 WHERE rowid = ".$this->id;
$result = $this->db->query($sql);
if ($result)
{
return 0;