Skip to content

Commit

Permalink
Closes #683
Browse files Browse the repository at this point in the history
  • Loading branch information
justingit committed Oct 3, 2017
1 parent 0bb0e03 commit 408ec01
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dada/DADA/Profile/Fields/baseSQL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ sub get {
if(!$args->{ -dotted }){
$args->{ -dotted } = 0;
}
if(!exists($args->{-dotted_with})){
$args->{-dotted_with} = 'subscriber';
}


#if(!exists($args->{-email})){
# return undef;
#}
Expand Down Expand Up @@ -193,7 +198,7 @@ sub get {
if ( $args->{ -dotted } == 1 ) {
my $dotted = {};
for ( keys %$n_hashref ) {
$dotted->{ 'subscriber.' . $_ } = $n_hashref->{$_};
$dotted->{$args->{-dotted_with} . '.' . $_ } = $n_hashref->{$_};
}

# require Data::Dumper;
Expand Down

0 comments on commit 408ec01

Please sign in to comment.