Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0961ca7
)
MDL-33576: If grade set to "No grade" in mod_assign hide inputs for quickgrading
author
Damyon Wiese
<damyon.wiese@netspot.com.au>
Thu, 7 Jun 2012 04:00:34 +0000
(12:00 +0800)
committer
Damyon Wiese
<damyon.wiese@netspot.com.au>
Wed, 13 Jun 2012 00:55:02 +0000
(08:55 +0800)
mod/assign/locallib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/assign/locallib.php
b/mod/assign/locallib.php
index
86e8b92
..
0778a89
100644
(file)
--- a/
mod/assign/locallib.php
+++ b/
mod/assign/locallib.php
@@
-894,7
+894,7
@@
class assign {
if ($this->get_instance()->grade >= 0) {
// Normal number
- if ($editing) {
+ if ($editing
&& $this->get_instance()->grade > 0
) {
if ($grade < 0) {
$displaygrade = '';
} else {