diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-09-25 14:50:18 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-09-25 14:50:18 -0700 |
commit | 8ab9d14a304aacdefd98e80c143132b10194d8c8 (patch) | |
tree | 05b2979c4d30310f20c1fd416327cb69524097de /httemplate/edit/part_pkg.cgi | |
parent | 809b7b5c08393a3cba0f7d8682eff3d72e4f4e32 (diff) |
scalar cgi param
Diffstat (limited to 'httemplate/edit/part_pkg.cgi')
-rwxr-xr-x | httemplate/edit/part_pkg.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi index 84e74f639..641366b65 100755 --- a/httemplate/edit/part_pkg.cgi +++ b/httemplate/edit/part_pkg.cgi @@ -559,7 +559,7 @@ my $clone_callback = sub { 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'; |