From c6d16f4c164a69dd6a9c865fd1ad160fb2870733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 4 Jul 2019 21:50:59 +0200 Subject: [PATCH] Set default card type to plain MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/Controller/CardController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/CardController.php b/lib/Controller/CardController.php index 22502f27e..9aaee7c6c 100644 --- a/lib/Controller/CardController.php +++ b/lib/Controller/CardController.php @@ -76,7 +76,7 @@ class CardController extends Controller { * @param int $order * @return \OCP\AppFramework\Db\Entity */ - public function create($title, $stackId, $type, $order = 999) { + public function create($title, $stackId, $type = 'plain', $order = 999) { return $this->cardService->create($title, $stackId, $type, $order, $this->userId); }