From de49233e861a2c8215e0441c4b82b0948b823871 Mon Sep 17 00:00:00 2001 From: tianya Date: Tue, 1 Apr 2025 22:45:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E4=B8=AD=E5=AD=97=E6=AE=B5=E7=A6=81=E6=AD=A2?= =?UTF-8?q?=E4=BC=9A=E5=91=98=E6=8A=95=E7=A8=BF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/user/inc/inc_archives_functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/user/inc/inc_archives_functions.php b/src/user/inc/inc_archives_functions.php index c689f0f6..e4e42c76 100755 --- a/src/user/inc/inc_archives_functions.php +++ b/src/user/inc/inc_archives_functions.php @@ -188,10 +188,10 @@ function PrintAutoFieldsAdd($fieldset, $loadtype = 'all', $isprint = TRUE) $addonfieldsname = ''; if (is_array($dtp->CTags)) { foreach ($dtp->CTags as $tid => $ctag) { - if ($loadtype != 'autofield' || $ctag->GetAtt('autofield') == 1) { + if (($loadtype != 'autofield' || $ctag->GetAtt('autofield') == 1) && $ctag->GetAtt('notsend') == 0) { $dede_addonfields .= ($dede_addonfields == "" ? $ctag->GetName().",".$ctag->GetAtt('type') : ";".$ctag->GetName().",".$ctag->GetAtt('type')); $addonfieldsname .= ",".$ctag->GetName(); - if ($isprint) echo GetFormItemA($ctag); + if ($isprint) echo GetFormItemA($ctag); } } } @@ -217,7 +217,7 @@ function PrintAutoFieldsEdit(&$fieldset, &$fieldValues, $loadtype = 'all') if (is_array($dtp->CTags)) { foreach ($dtp->CTags as $tid => $ctag) { if ( - $loadtype != 'autofield' || ($loadtype == 'autofield' && $ctag->GetAtt('autofield') == 1)) { + ($loadtype != 'autofield' || ($loadtype == 'autofield' && $ctag->GetAtt('autofield') == 1) && $ctag->GetAtt('notsend') == 0)) { $dede_addonfields .= ($dede_addonfields == '' ? $ctag->GetName().",".$ctag->GetAtt('type') : ";".$ctag->GetName().",".$ctag->GetAtt('type')); echo GetFormItemValueA($ctag, $fieldValues[$ctag->GetName()]); }