From 2ed0ce1f9dec2214f686b3ae663def8e2e6d0995 Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Wed, 5 Mar 2014 13:23:18 +0100 Subject: [PATCH] Set default value for grantedPassword & activated properties --- lib/Alchemy/Phrasea/Model/Entities/ApiApplication.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Alchemy/Phrasea/Model/Entities/ApiApplication.php b/lib/Alchemy/Phrasea/Model/Entities/ApiApplication.php index c65e03fca0..13726edf18 100644 --- a/lib/Alchemy/Phrasea/Model/Entities/ApiApplication.php +++ b/lib/Alchemy/Phrasea/Model/Entities/ApiApplication.php @@ -109,14 +109,14 @@ class ApiApplication * * @ORM\Column(type="boolean", nullable=false) */ - private $activated; + private $activated = true; /** * @var integer * * @ORM\Column(name="grant_password", type="boolean", nullable=false) */ - private $grantPassword; + private $grantPassword = false; /** * @param boolean $activated