projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b11b953
)
RT# 77498 - fixed getting filename in V3
author
Christopher Burger
<burgerc@freeside.biz>
Tue, 19 Jun 2018 18:48:58 +0000
(14:48 -0400)
committer
Christopher Burger
<burgerc@freeside.biz>
Tue, 19 Jun 2018 18:48:58 +0000
(14:48 -0400)
FS/FS/contact/Import.pm
patch
|
blob
|
history
diff --git
a/FS/FS/contact/Import.pm
b/FS/FS/contact/Import.pm
index
26bdcfa
..
7a71349
100644
(file)
--- a/
FS/FS/contact/Import.pm
+++ b/
FS/FS/contact/Import.pm
@@
-2,6
+2,8
@@
package FS::contact::Import;
use strict;
use vars qw( $DEBUG ); #$conf );
use strict;
use vars qw( $DEBUG ); #$conf );
+use Storable qw(thaw);
+use MIME::Base64;
use Data::Dumper;
use FS::Misc::DateTime qw( parse_datetime );
use FS::Record qw( qsearchs );
use Data::Dumper;
use FS::Misc::DateTime qw( parse_datetime );
use FS::Record qw( qsearchs );
@@
-49,7
+51,8
@@
Load a batch import as a queued JSRPC job
sub process_batch_import {
my $job = shift;
sub process_batch_import {
my $job = shift;
- my $param = shift;
+ #my $param = shift;
+ my $param = thaw(decode_base64(shift));
warn Dumper($param) if $DEBUG;
my $files = $param->{'uploaded_files'}
warn Dumper($param) if $DEBUG;
my $files = $param->{'uploaded_files'}