From: jeff Date: Wed, 21 Feb 2007 02:53:14 +0000 (+0000) Subject: work around a claimed 50 char limit, and correct a description handling bug X-Git-Tag: TRIXBOX_2_6~628 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=299f1b7b7b5691d70709aaacfd100d2e088ab0ff work around a claimed 50 char limit, and correct a description handling bug --- diff --git a/FS/FS/part_export/prizm.pm b/FS/FS/part_export/prizm.pm index 711888d1f..ca02b8f3e 100644 --- a/FS/FS/part_export/prizm.pm +++ b/FS/FS/part_export/prizm.pm @@ -43,7 +43,7 @@ sub _export_insert { my $cust_main = $svc->cust_svc->cust_pkg->cust_main; - my $err_or_som = $self->prizm_command(CustomerIfService, 'getCustomers', + my $err_or_som = $self->prizm_command('CustomerIfService', 'getCustomers', ['import_id'], [$cust_main->custnum], ['='], @@ -118,7 +118,7 @@ sub _export_insert { $err_or_som = $self->prizm_command('NetworkIfService', 'addProvisionedElement', $networkid, $svc->mac_addr, - $name . " " . $svc->description, + $name, # we fix this below (bug in prizm?) $location, $contact, sprintf("%032X", $svc->authkey), @@ -141,7 +141,7 @@ sub _export_insert { $svc->latitude, $svc->longitude, $svc->altitude, - $name, + $name . " " . $svc->description, $location, $contact, );