diff --git a/include/staff/ticket-open.inc.php b/include/staff/ticket-open.inc.php index f36c1e0bcd97dcf1fd067fd71e585675283788f5..ed29b87391f632efbdddc886db8809edfefb51ee 100644 --- a/include/staff/ticket-open.inc.php +++ b/include/staff/ticket-open.inc.php @@ -219,6 +219,10 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info); <textarea name="issue" cols="21" rows="8" style="width:80%;"><?php echo $info['issue']; ?></textarea> </td> </tr> + <?php + //is the user allowed to post replies?? + if($thisstaff->canPostReply()) { + ?> <tr> <th colspan="2"> <em><strong>Response</strong>: Optional response to the above issue.</em> @@ -270,8 +274,8 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info); </div> </td> </tr> - <?php - } ?> + <?php + } ?> <?php if($thisstaff->canCloseTickets()) { ?> @@ -304,6 +308,9 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info); </table> </td> </tr> + <?php + } //end canPostReply + ?> <tr> <th colspan="2"> <em><strong>Internal Note</strong>: Optional internal note (recommended on assignment) <font class="error"> <?php echo $errors['note']; ?></font></em>