From 13332ecef6aec11520c8745d0405b65af9885a45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 10 Nov 2017 14:04:16 +0100 Subject: [PATCH] Add default for injected value since out app container is not queried during update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/Db/CardMapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Db/CardMapper.php b/lib/Db/CardMapper.php index b6d0faccc..e96652b51 100644 --- a/lib/Db/CardMapper.php +++ b/lib/Db/CardMapper.php @@ -38,7 +38,7 @@ public function __construct( IDBConnection $db, LabelMapper $labelMapper, IUserManager $userManager, - $databaseType + $databaseType = 'sqlite' ) { parent::__construct($db, 'deck_cards', '\OCA\Deck\Db\Card'); $this->labelMapper = $labelMapper;