diff --git a/include/staff/ticket-view.inc.php b/include/staff/ticket-view.inc.php
index c602b7ecb7d4f867c6bf494b0be9446af1a5584c..c2cb0bd1067684f7a012aa4f1a44cc73dc8ee904 100644
--- a/include/staff/ticket-view.inc.php
+++ b/include/staff/ticket-view.inc.php
@@ -366,6 +366,7 @@ if(!$cfg->showNotesInline()) { ?>
         <?php csrf_token(); ?>
         <input type="hidden" name="id" value="<?php echo $ticket->getId(); ?>">
         <input type="hidden" name="msgId" value="<?php echo $msgId; ?>">
+        <input type="hidden" name="locktime" value="<?php echo $cfg->getLockTime(); ?>">
         <input type="hidden" name="a" value="reply">
         <span class="error"></span>
         <table border="0" cellspacing="0" cellpadding="3">