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); }