Merge branch 'sprint/209_hufangzhou_24585' into 'master'

* Fix bug #24585.

See merge request easycorp/zentaopms!4249
This commit is contained in:
王怡栋
2022-06-30 02:57:52 +00:00
+2 -1
View File
@@ -33,7 +33,8 @@
<tr>
<th><?php echo $lang->api->control;?></th>
<td>
<span><?php echo html::radio('acl', $lang->api->aclList, 'open', "onchange='toggleAcl(this.value, \"lib\")'")?></span>
<?php $isDisabled = $type == 'demo' ? 'disabled' : '';?>
<span><?php echo html::radio('acl', $lang->api->aclList, 'open', "onchange='toggleAcl(this.value, \"lib\")' $isDisabled")?></span>
<span class='text-info' id='noticeAcl'><?php echo $lang->api->noticeAcl['open'];?></span>
</td>
</tr>