Skip to content

Commit faa289b

Browse files
authored
Fix: extra quotation marks (#1168)
1 parent b838dfa commit faa289b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

templates/dropdown.class.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?php
22

33
class %%CLASSNAME%% extends CommonTreeDropdown {
4-
public $field_name = "%%FIELDNAME%%";
4+
public $field_name = %%FIELDNAME%%;
55
public $can_be_translated = true;
66
77
static function getTypeName($nb=0) {
88
$item = [
99
"itemtype" => PluginFieldsField::getType(),
10-
"id" => "%%FIELDID%%",
11-
"label" => "%%LABEL%%"
10+
"id" => %%FIELDID%%,
11+
"label" => %%LABEL%%
1212
];
1313
$label = PluginFieldsLabelTranslation::getLabelFor($item);
1414
return $label;

0 commit comments

Comments
 (0)