* Fix bug#37439.

This commit is contained in:
chaideqing
2023-08-24 05:18:36 +00:00
parent b2f0922bd6
commit 4e71e332c6
2 changed files with 16 additions and 4 deletions
+3 -3
View File
@@ -62,9 +62,9 @@
<div class='cols-list template' id="originCols">
<?php foreach ($cols as $key => $col):?>
<?php
$required = zget($col, 'required', 'no') == 'yes';
$fixed = zget($col, 'fixed', 'no');
$width = zget($col, 'width', 'auto');
$required = $col['required'] == 'yes';
$fixed = $col['fixed'];
$width = $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;?>'>