Skip to content

Commit d32ba09

Browse files
author
gage
committed
forward port of change to 2-4-patches
git-svn-id: http://svn.webwork.maa.org/system/trunk/webwork2@5902 c0722133-6baf-4dd8-8699-98d999cd4f06
1 parent 4e55463 commit d32ba09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/WeBWorK/ContentGenerator/Hardcopy.pm

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
################################################################################
22
# WeBWorK Online Homework Delivery System
33
# Copyright © 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/
4-
# $CVSHeader: webwork2/lib/WeBWorK/ContentGenerator/Hardcopy.pm,v 1.97 2007/09/12 15:05:07 glarose Exp $
4+
# $CVSHeader: webwork2/lib/WeBWorK/ContentGenerator/Hardcopy.pm,v 1.98 2008/08/06 16:03:36 glarose Exp $
55
#
66
# This program is free software; you can redistribute it and/or modify it under
77
# the terms of either: (a) the GNU General Public License as published by the
@@ -993,6 +993,7 @@ sub write_problem_tex {
993993
showHints => $showHints ? 1 : 0, # insure that this value is numeric
994994
showSolutions => $showSolutions ? 1 : 0, # (or what? -sam)
995995
processAnswers => $showCorrectAnswers ? 1 : 0,
996+
permissionLevel => $db->getPermissionLevel($userID)->permission,
996997
};
997998
my $formFields = { };
998999
if ( $versioned && $MergedProblem->problem_id != 0 ) {

0 commit comments

Comments
 (0)