]> git.mjollnir.org Git - moodle.git/commit
qtypes: MDL-18559 questions showing penalty information when they shouldn't.
authortjhunt <tjhunt>
Mon, 16 Mar 2009 01:52:47 +0000 (01:52 +0000)
committertjhunt <tjhunt>
Mon, 16 Mar 2009 01:52:47 +0000 (01:52 +0000)
commit5995f17f72a7a437b65494af2c36e634b5967661
tree32deeb27171db10d9669d218b14311b5ea583815
parent94328e504c5f640f9b372815f97f52a9ff22d621
qtypes: MDL-18559 questions showing penalty information when they shouldn't.

We had a !== when it should have been !=, and our constants were defined as strings not ints. This problem has been there since forever, but no one had noticed before. Thanks to Alan Trick for finally spotting it!
question/type/questiontype.php
question/type/shortanswer/questiontype.php