From 8d7fb7b0f670633dcd3cb597a598225db4af2548 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= <frederic.france@free.fr>
Date: Thu, 2 Apr 2015 18:48:47 +0200
Subject: [PATCH] Travis Fix don.class.php

---
 htdocs/don/class/don.class.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/htdocs/don/class/don.class.php b/htdocs/don/class/don.class.php
index 080d0adb806..33706ddd841 100644
--- a/htdocs/don/class/don.class.php
+++ b/htdocs/don/class/don.class.php
@@ -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";
         }
-- 
GitLab