From cd989f9c3aff968e19a3aeabc4eb9085787a6673 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 14:43:12 +0200 Subject: Adding upstream version 1.10.2. Signed-off-by: Daniel Baumann --- application/controllers/CommandsController.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 application/controllers/CommandsController.php (limited to 'application/controllers/CommandsController.php') diff --git a/application/controllers/CommandsController.php b/application/controllers/CommandsController.php new file mode 100644 index 0000000..246028f --- /dev/null +++ b/application/controllers/CommandsController.php @@ -0,0 +1,20 @@ +params->get('type', 'object'); + if (! in_array($type, $validTypes)) { + $type = 'object'; + } + + $this->table->setType($type); + } +} -- cgit v1.2.3