* Fix bug#37543.

This commit is contained in:
chaideqing
2023-08-23 08:29:24 +00:00
parent 40fb913609
commit 97bbd8b806
+2 -2
View File
@@ -63,8 +63,8 @@
<?php foreach ($cols as $key => $col):?>
<?php
$required = zget($col, 'required', 'no') == 'yes';
$fixed = zget($col, 'fixed', 'no');
$width = zget($col, 'width', 'auto');
$fixed = zget($col, 'fixed', '');
$width = zget($col, 'width', '');
$autoWidth = $width == 'auto';
?>
<div class='clearfix col<?php echo ($required ? ' require' : '') . (' fixed-' . $fixed) ?>' data-key='<?php echo $key?>' data-fixed='<?php echo $fixed?>' data-width='<?php echo $width;?>'>