projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add part_referral external ID for API signups, #39776
[freeside.git]
/
httemplate
/
edit
/
part_pkg.cgi
diff --git
a/httemplate/edit/part_pkg.cgi
b/httemplate/edit/part_pkg.cgi
index
84e74f6
..
641366b
100755
(executable)
--- a/
httemplate/edit/part_pkg.cgi
+++ b/
httemplate/edit/part_pkg.cgi
@@
-559,7
+559,7
@@
my $clone_callback = sub {
if ( $cgi->param('pkgnum') ) {
if ( $cgi->param('pkgnum') ) {
- my $cust_pkg = qsearchs('cust_pkg', { 'pkgnum' =>
$cgi->param('pkgnum'
) } );
+ my $cust_pkg = qsearchs('cust_pkg', { 'pkgnum' =>
scalar($cgi->param('pkgnum')
) } );
$object->agentnum( $cust_pkg->cust_main->agentnum );
$opt->{action} = 'Custom';
$object->agentnum( $cust_pkg->cust_main->agentnum );
$opt->{action} = 'Custom';