Update don.class.php
This commit is contained in:
parent
8fe93618cd
commit
f24ee650fc
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue