fix ID variable
This commit is contained in:
parent
3160b12455
commit
83b3cd0bd5
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user