mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Fixing OU report issues
This commit is contained in:
parent
f22bc9dbcb
commit
d32100a522
3 changed files with 13 additions and 2 deletions
|
@ -533,7 +533,7 @@ class grade_item extends grade_object {
|
|||
* Returns the hidden state of this grade_item
|
||||
* @return boolean hidden state
|
||||
*/
|
||||
function is_hidden($userid=NULL) {
|
||||
function is_hidden() {
|
||||
return ($this->hidden == 1 or ($this->hidden != 0 and $this->hidden > time()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue