Hi,
I'm using attendance with scale grade.
In course grade report all the students got missing grade.
If I change the grade from scale to 100 everything is o.k
I start debugging it and I found that my problem is that
mingrade = 1
maxgrade=6
but my rawgrade is -2
(because this->grade =-4, get_user_grade=3, get_user_max_grade=6. so: 3/6*-4 = -2)
so finalgrade always get 1...because mingrade is bigger then rawgrade.
How can I fix it??
Thanks!