From ac82758a234752b0b5633983f3d67f6dd13efac2 Mon Sep 17 00:00:00 2001
From: Carsten  Rose <carsten.rose@math.uzh.ch>
Date: Mon, 4 Nov 2019 12:43:23 +0100
Subject: [PATCH] FormEditor: fix missing formId in STORE_SIP on calling FE
 directly from error message.

---
 extension/Classes/Sql/formEditor.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extension/Classes/Sql/formEditor.sql b/extension/Classes/Sql/formEditor.sql
index bc31a2da3..a2c313a50 100644
--- a/extension/Classes/Sql/formEditor.sql
+++ b/extension/Classes/Sql/formEditor.sql
@@ -315,7 +315,7 @@ VALUES
 INSERT INTO Form (id, name, title, noteInternal, tableName, permitNew, permitEdit, render, multiSql, parameter,
                   requiredParameterNew)
 VALUES (2, 'formElement',
-        'Form Element Editor. Form : {{SELECT f.id, " / ",  f.name  FROM Form AS f WHERE f.id = {{formId:S0}}  }} (DB: {{dbNameQfq:Y}})',
+        'Form Element Editor. Form : {{SELECT f.id, " / ",  f.name  FROM Form AS f WHERE f.id = {{formId:SR0}}  }} (DB: {{dbNameQfq:Y}})',
         'Please secure the form',
         'FormElement', 'sip', 'sip', 'bootstrap', '',
         'maxVisiblePill=5\nclassBody=qfq-color-blue-1\ndbIndex={{indexQfq:Y}}', 'formId');
-- 
GitLab