From 4f76fdaf96e0906aab9ae0c24b22fcb8ec210527 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Thu, 14 Aug 2014 15:26:31 +0200 Subject: [PATCH] MT#8633 Properly set is_primary on sub creation --- lib/NGCP/Panel/Utils/Subscriber.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/NGCP/Panel/Utils/Subscriber.pm b/lib/NGCP/Panel/Utils/Subscriber.pm index e370fe0318..597ed291a1 100644 --- a/lib/NGCP/Panel/Utils/Subscriber.pm +++ b/lib/NGCP/Panel/Utils/Subscriber.pm @@ -280,6 +280,7 @@ sub create_subscriber { username => $cli, domain_id => $prov_subscriber->domain->id, subscriber_id => $prov_subscriber->id, + is_primary => 1, }); }