clean code (#34977)

This commit is contained in:
Frédéric FRANCE
2025-08-17 01:47:48 +02:00
committed by GitHub
parent 8d5c3b1246
commit c6b8f88f18

View File

@@ -2615,7 +2615,7 @@ class Adherent extends CommonObject
$now = dol_now();
$sql = "SELECT a.rowid, a.datefin, a.statut";
$sql = "SELECT a.rowid, a.datefin, a.statut as status";
$sql .= " FROM ".MAIN_DB_PREFIX."adherent as a";
$sql .= ", ".MAIN_DB_PREFIX."adherent_type as t";
$sql .= " WHERE a.fk_adherent_type = t.rowid";
@@ -2662,8 +2662,8 @@ class Adherent extends CommonObject
$response->nbtodo++;
$adherentstatic->datefin = $this->db->jdate($obj->datefin);
$adherentstatic->statut = $obj->statut;
$adherentstatic->status = $obj->statut;
$adherentstatic->statut = $obj->status;
$adherentstatic->status = $obj->status;
if ($adherentstatic->hasDelay()) {
$response->nbtodolate++;