MT#16443 Fix setting reseller_id for contacts

When creating customercontact as reseller, the reseller_id is
not properly set.

Change-Id: I5a00475cbd3d4be7db005a8e4ca248266f7381fa
changes/78/3378/1
Andreas Granig 10 years ago
parent 9a1d6d3240
commit 45d9f6e3bc

@ -185,6 +185,7 @@ sub POST :Allow {
my $now = NGCP::Panel::Utils::DateTime::current_local;
$resource->{create_timestamp} = $now;
$resource->{modify_timestamp} = $now;
$resource->{reseller_id} = $reseller_id;
my $contact;
try {
$contact = $c->model('DB')->resultset('contacts')->create($resource);

Loading…
Cancel
Save