fixing translations problems
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-03-31 12:34:51 +02:00
parent e7d85e3a0a
commit 29022cb1fa
2 changed files with 2 additions and 4 deletions

View File

@ -36,8 +36,8 @@ if (class_exists('GF_Field')) {
$choices[] = [
'title' => get_the_title($current_lang_id),
'text' => get_the_title($current_lang_id),
'ID_fr' => $post['ID_nl'],
'ID_nl' => $post['ID_fr'],
'ID_fr' => $post['ID_fr'],
'ID_nl' => $post['ID_nl'],
];
}
$this->choices = $choices;
@ -100,7 +100,6 @@ if (class_exists('GF_Field')) {
$counter = 0;
foreach ($this->choices as $document) {
// $isEmpty = empty($value[$counter]) && empty($value[$counter + 1]);
// if ($isEmpty) {

View File

@ -24,7 +24,6 @@
$documentPost = get_post($current_lang_id);
$metadata = wp_get_attachment_metadata($current_lang_id);
?>
<div class=" gchoice brochure-order-field">