MDL-10477 Fixed a small bug in grade/edit/item.php , where I was testing for
authornicolasconnault <nicolasconnault>
Wed, 18 Jul 2007 03:14:06 +0000 (03:14 +0000)
committernicolasconnault <nicolasconnault>
Wed, 18 Jul 2007 03:14:06 +0000 (03:14 +0000)
commit025bc8d0b125906c581d03e6c35e6bb8c79594d4
tree952436d2da3bf41f080e873901c64ad895ab6a38
parente4add64dff7763d7baa02da8ab2cf44deef5e0f4
MDL-10477 Fixed a small bug in grade/edit/item.php , where I was testing for
if (!empty($data->pref_gradedisplaytype))

which returned false if the value was set to 0. I just changed !empty to isset and it fixed it.
grade/edit/item.php