Skip to content
Snippets Groups Projects
Commit 8d7fb7b0 authored by Frédéric France's avatar Frédéric France
Browse files

Travis Fix don.class.php

parent e480177d
No related branches found
No related tags found
No related merge requests found
......@@ -709,13 +709,13 @@ class Don extends CommonObject
* Classify the donation as paid, the donation was received
*
* @param int $id id of donation
* @param int $modepayment mode de payment
* @param int $modepayment mode of payment
* @return int <0 if KO, >0 if OK
*/
function set_paid($id, $modepaiement='')
function set_paid($id, $modepayment='')
{
$sql = "UPDATE ".MAIN_DB_PREFIX."don SET fk_statut = 2";
if ($modepaiement)
if ($modepayment)
{
$sql .= ", fk_payment=$modepayment";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment