fix copy&paste error

This commit is contained in:
Uwe Steinmann 2016-11-03 21:44:49 +01:00
parent 86ba717c83
commit 4e79899323

View File

@ -237,7 +237,7 @@ $(document).ready( function() {
<td><input type="text" name="comment" value="<?php print $transmittal ? htmlspecialchars($transmittal->getComment()) : "";?>"></td>
</tr>
<?php
if($currRole && $accessop->check_controller_access('TransmittalMgr', array('action'=>'edittransmittal')) || !$currRole && $accessop->check_controller_access('TransmittalMgr', array('action'=>'addtransmittal'))) {
if($transmittal && $accessop->check_controller_access('TransmittalMgr', array('action'=>'edittransmittal')) || !$transmittal && $accessop->check_controller_access('TransmittalMgr', array('action'=>'addtransmittal'))) {
?>
<tr>
<td></td>