From 3668fb6624a7cd59c53c0b9f180b0d748eacc123 Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Tue, 14 Jan 2020 08:59:36 +0100 Subject: [PATCH] fix(form): single quotes around a table name close #1606 Signed-off-by: Thierry Bugier --- inc/form.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/form.class.php b/inc/form.class.php index f679e5a6e..f4e5174ad 100644 --- a/inc/form.class.php +++ b/inc/form.class.php @@ -2285,7 +2285,7 @@ public function showForCentral() { [ 'OR' => [ "$form_table.access_rights" => ['<>', PluginFormcreatorForm::ACCESS_RESTRICTED], - "$form_table.'id'" => new QuerySubQuery([ + "$form_table.id" => new QuerySubQuery([ 'SELECT' => $formFk, 'FROM' => $table_fp, 'WHERE' => [