Changeset View
Changeset View
Standalone View
Standalone View
modules/in-commerce/units/orders/orders_item.php
Show All 26 Lines | |||||
* @return void | * @return void | ||||
*/ | */ | ||||
public function SetFieldsFromHash($hash, $set_fields = Array ()) | public function SetFieldsFromHash($hash, $set_fields = Array ()) | ||||
{ | { | ||||
parent::SetFieldsFromHash($hash, $set_fields); | parent::SetFieldsFromHash($hash, $set_fields); | ||||
$options = $this->GetFieldOptions('PaymentCCExpDate'); | $options = $this->GetFieldOptions('PaymentCCExpDate'); | ||||
if ( $this->GetDirtyField($options['month_field']) || $this->GetDirtyField($options['year_field']) ) { | if ( isset($hash[$options['month_field']]) || isset($hash[$options['year_field']]) ) { | ||||
Lint: Generic.WhiteSpace.ScopeIndent.IncorrectExact: Line indented incorrectly; expected 2 tabs, found 3 | |||||
$this->SetDirtyField('PaymentCCExpDate', 0); | $this->SetDirtyField('PaymentCCExpDate', 0); | ||||
$this->SetField('PaymentCCExpDate', 0); | $this->SetField('PaymentCCExpDate', 0); | ||||
} | } | ||||
} | } | ||||
/** | /** | ||||
* Returns gateway data based on payment type used in order | * Returns gateway data based on payment type used in order | ||||
* | * | ||||
▲ Show 20 Lines • Show All 344 Lines • Show Last 20 Lines |
Line indented incorrectly; expected 2 tabs, found 3