Browse code

Use language variable references in reservation dca

Benjamin Roth authored on21/07/2025 15:45:35
Showing1 changed files
... ...
@@ -190,8 +190,8 @@ $GLOBALS['TL_DCA']['tl_vr_wa_reservation'] = array
190 190
             'exclude'                 => true,
191 191
             'inputType'               => 'select',
192 192
             'options'                 => ['1','0'],
193
-            'reference'               => $GLOBALS['TL_LANG']['REF']['wa_approval'],
194
-            'eval'                    => array('tl_class'=>'w50 m12', 'includeBlankOption' => true, 'blankOptionLabel' => $GLOBALS['TL_LANG']['MSC']['wa_approval_pending']),
193
+            'reference'               => &$GLOBALS['TL_LANG']['REF']['wa_approval'],
194
+            'eval'                    => array('tl_class'=>'w50 m12', 'includeBlankOption' => true, 'blankOptionLabel' => &$GLOBALS['TL_LANG']['MSC']['wa_approval_pending']),
195 195
             'sql'                     => "char(1) NOT NULL default '1'"
196 196
         ),
197 197
         'approved_on' => array