From: Arnie P. v. a. <we...@ma...> - 2008-08-06 19:39:43
|
Log Message: ----------- Backporting Gavin's bug fix to rel-2-4-patches Tags: ---- rel-2-4-patches Modified Files: -------------- webwork2/lib/WeBWorK/ContentGenerator: Hardcopy.pm Revision Data ------------- Index: Hardcopy.pm =================================================================== RCS file: /webwork/cvs/system/webwork2/lib/WeBWorK/ContentGenerator/Hardcopy.pm,v retrieving revision 1.94.2.2.2.1 retrieving revision 1.94.2.2.2.2 diff -Llib/WeBWorK/ContentGenerator/Hardcopy.pm -Llib/WeBWorK/ContentGenerator/Hardcopy.pm -u -r1.94.2.2.2.1 -r1.94.2.2.2.2 --- lib/WeBWorK/ContentGenerator/Hardcopy.pm +++ lib/WeBWorK/ContentGenerator/Hardcopy.pm @@ -227,7 +227,8 @@ } $canShowScore{"$uid!$sid"} = - ( ! defined( $userSet->hide_score ) ) || + ( ! defined( $userSet->hide_score ) || + $userSet->hide_score eq '' ) || ( $userSet ->hide_score eq 'N' || ( $userSet->hide_score eq 'BeforeAnswerDate' && time >= $userSet->answer_date ) ); |