From 09a3d131caad8fd1996e529e9e97168c771d3e19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Jaussoin?= Date: Wed, 26 Jan 2022 11:50:46 +0100 Subject: [PATCH] Check the presence of the confirmation_key before injecting it --- flexiapi/database/seeds/LiblinphoneTesterAccoutSeeder.php | 4 ++-- flexisip-account-manager.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flexiapi/database/seeds/LiblinphoneTesterAccoutSeeder.php b/flexiapi/database/seeds/LiblinphoneTesterAccoutSeeder.php index 9142f65..246ecf8 100644 --- a/flexiapi/database/seeds/LiblinphoneTesterAccoutSeeder.php +++ b/flexiapi/database/seeds/LiblinphoneTesterAccoutSeeder.php @@ -40,7 +40,7 @@ class LiblinphoneTesterAccoutSeeder extends Seeder $element->username, $element->domain, $element->activated ?? true, - $element->confirmation_key + $element->confirmation_key ?? null ) ); @@ -78,7 +78,7 @@ class LiblinphoneTesterAccoutSeeder extends Seeder str_replace('%usernamePostfix%', $element->usernameStart + $i, $element->username), $element->domain, $element->activated ?? true, - $element->confirmation_key + $element->confirmation_key ?? null ) ); diff --git a/flexisip-account-manager.spec b/flexisip-account-manager.spec index 3cda661..1b8ef61 100644 --- a/flexisip-account-manager.spec +++ b/flexisip-account-manager.spec @@ -8,7 +8,7 @@ #%define _datadir %{_datarootdir} #%define _docdir %{_datadir}/doc -%define build_number 128 +%define build_number 129 %define var_dir /var/opt/belledonne-communications %define opt_dir /opt/belledonne-communications/share/flexisip-account-manager