From 603a0194dd2bf96b9a34064fbeb8de2caba4584c Mon Sep 17 00:00:00 2001 From: JiaJia Ji Date: Fri, 5 May 2023 14:58:29 +0200 Subject: [PATCH] task: rebase --- src/Controller/AdminController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/AdminController.php b/src/Controller/AdminController.php index 06393cb..d888bd8 100644 --- a/src/Controller/AdminController.php +++ b/src/Controller/AdminController.php @@ -116,7 +116,7 @@ public function favoriteOutputDefinitionsAction(Request $request) $list = new FavoriteOutputDefinition\Listing(); $list->setOrder('asc'); $list->setOrderKey('description'); - $condition = 'o_classId = ' . $request->get('classId'); + $condition = 'o_classId = ' . $list->quote($request->get('classId')); $list->setCondition($condition); $definitions = [];