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()]); }