fix ID variable

This commit is contained in:
Thomas Rubini 2023-01-25 23:12:02 +01:00
parent 3160b12455
commit 83b3cd0bd5
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373

View File

@ -55,7 +55,7 @@ final class DifficultyModel
if ($row === false) return null;
$O_diff = new DifficultyModel($row["NAME"]);
$O_diff->I_ID = $I_id;
$O_diff->I_ID = $row["ID"];
return $O_diff;
}
public static function deleteByID($I_id)