From 5b1aa4cf6ea2aedaf9bea87b78f0d040940d7888 Mon Sep 17 00:00:00 2001 From: Greg Besson Date: Mon, 25 Jul 2022 16:36:39 +0200 Subject: [PATCH] word_search --- src/Service/Crossword.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/Crossword.php b/src/Service/Crossword.php index c0c2d3b..bab0db4 100644 --- a/src/Service/Crossword.php +++ b/src/Service/Crossword.php @@ -30,7 +30,7 @@ public function updateWord(array $data, $word) } // TODO: Solve the error on binding. The following properties are not binded thru the form - if ($crossword->getGameType() == "crossword") { + if ($crossword->getGameType() == "crossword" || $crossword->getGameType() == "word_search") { $word->setLayoutColumn($data['layoutColumn']); $word->setLayoutRow($data['layoutRow']); $word->setPosition($data['position']);