Skip to content

Commit 7bbb9b8

Browse files
committed
fix(section): cannot rename section twice
1 parent c4277d8 commit 7bbb9b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/section.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ public function getDesignLabel(): string {
552552
]);
553553
$formId = $this->fields[PluginFormcreatorForm::getForeignKeyField()];
554554
$onclick = 'plugin_formcreator.showSectionForm(' . $formId . ', ' . $sectionId . ');';
555-
$html = '<a href="#" onclick=' . $onclick . '" data-field="name">';
555+
$html = '<a href="#" onclick="' . $onclick . '" data-field="name">';
556556
$html .= "<sup class='plugin_formcreator_conditions_count' title='" . __('Count of conditions', 'formcreator') ."'>$nb</sup>";
557557
$html .= '<span>';
558558
$html .= empty($this->fields['name']) ? '(' . $sectionId . ')' : $this->fields['name'];

0 commit comments

Comments
 (0)