cleaning
This commit is contained in:
parent
2afad8e307
commit
5cb75f4797
|
|
@ -5,6 +5,8 @@ if (class_exists('GF_Field')) {
|
||||||
{
|
{
|
||||||
public $type = 'order_documents_list';
|
public $type = 'order_documents_list';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private function buildChoicesArray()
|
private function buildChoicesArray()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
@ -42,7 +44,7 @@ if (class_exists('GF_Field')) {
|
||||||
'ID' => $id,
|
'ID' => $id,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
$this->choices = $choices;
|
||||||
return $choices;
|
return $choices;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -96,7 +98,7 @@ if (class_exists('GF_Field')) {
|
||||||
|
|
||||||
private function translateValueArray($value)
|
private function translateValueArray($value)
|
||||||
{
|
{
|
||||||
$this->buildChoices();
|
$this->buildChoicesArray();
|
||||||
|
|
||||||
$table_value = [];
|
$table_value = [];
|
||||||
$counter = 0;
|
$counter = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user