File tree Expand file tree Collapse file tree
Controllers/Examples/WebForms
Services/Examples/WebForms Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,13 +90,13 @@ protected function createController(): void
9090
9191 if (empty ($ formList ->getItems ()) || count ($ formList ->getItems ()) == 0 ) {
9292 $ GLOBALS ['twig ' ]->display (
93- 'error.html ' ,
94- [
95- 'error_code ' => '400 ' ,
96- 'error_message ' => $ this ->codeExampleText ['CustomErrorTexts ' ][0 ]['ErrorMessage ' ],
97- 'common_texts ' => ManifestService::getCommonTexts ()
98- ]
99- );
93+ 'error.html ' ,
94+ [
95+ 'error_code ' => '400 ' ,
96+ 'error_message ' => $ this ->codeExampleText ['CustomErrorTexts ' ][0 ]['ErrorMessage ' ],
97+ 'common_texts ' => ManifestService::getCommonTexts ()
98+ ]
99+ );
100100 return ;
101101 }
102102
Original file line number Diff line number Diff line change @@ -166,7 +166,6 @@ public static function createTemplate(
166166 if ($ templatesListResponse ['result_set_size ' ] > 0 ) {
167167 $ templateId = $ templatesListResponse ['envelope_templates ' ][0 ]['template_id ' ];
168168 $ resultsTemplateName = $ templatesListResponse ['envelope_templates ' ][0 ]['name ' ];
169-
170169 } else {
171170 $ templateObject = CreateAndEmbedFormService::makeTemplateRequest (
172171 $ templateName ,
You can’t perform that action at this time.
0 commit comments