Index: branches/5.2.x/units/orders/orders_item.php =================================================================== diff -u -N -r16516 -r16697 --- branches/5.2.x/units/orders/orders_item.php (.../orders_item.php) (revision 16516) +++ branches/5.2.x/units/orders/orders_item.php (.../orders_item.php) (revision 16697) @@ -1,6 +1,6 @@ GetFieldOptions('PaymentCCExpDate'); + $month_field = $options['month_field']; + $year_field = $options['year_field']; - if ( $this->GetDirtyField($options['month_field']) || $this->GetDirtyField($options['year_field']) ) { + if ( (isset($hash[$month_field]) && $this->GetDirtyField($month_field)) + || (isset($hash[$year_field]) && $this->GetDirtyField($year_field)) + ) { $this->SetDirtyField('PaymentCCExpDate', 0); $this->SetField('PaymentCCExpDate', 0); }