From f24ee650fcccd421a5cab898eb8e4b0ec4dea9cc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 17 Nov 2024 01:11:41 +0100 Subject: [PATCH] Update don.class.php --- htdocs/don/class/don.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/don/class/don.class.php b/htdocs/don/class/don.class.php index a1988a2a2b3..6a948061bd0 100644 --- a/htdocs/don/class/don.class.php +++ b/htdocs/don/class/don.class.php @@ -862,7 +862,7 @@ class Don extends CommonObject if ($this->status != self::STATUS_CANCELED && $this->status != self::STATUS_PAID) { return 0; } - if($this->statut == self::STATUS_PAID) { + if ($this->statut == self::STATUS_PAID) { $sql = "UPDATE " . MAIN_DB_PREFIX . "don SET paid = 0 WHERE rowid = " . ((int)$this->id); $resql = $this->db->query($sql);