This commit is contained in:
Antoine M 2024-05-21 13:59:11 +02:00
parent 2afad8e307
commit 5cb75f4797

View File

@ -5,6 +5,8 @@ if (class_exists('GF_Field')) {
{
public $type = 'order_documents_list';
private function buildChoicesArray()
{
@ -42,7 +44,7 @@ if (class_exists('GF_Field')) {
'ID' => $id,
];
}
$this->choices = $choices;
return $choices;
}
@ -96,7 +98,7 @@ if (class_exists('GF_Field')) {
private function translateValueArray($value)
{
$this->buildChoices();
$this->buildChoicesArray();
$table_value = [];
$counter = 0;