Use only specific Facebook variables, to prevent errors (#1013)
This commit is contained in:
parent
95c772bf38
commit
eb87ab449e
|
@ -92,9 +92,7 @@ sub extractFormInfo {
|
|||
my @fields = ('id');
|
||||
|
||||
# Look at wanted fields
|
||||
my %vars =
|
||||
( %{ $self->{exportedVars} },
|
||||
%{ $self->{facebookExportedVars} } );
|
||||
my %vars = %{ $self->{facebookExportedVars} };
|
||||
if ( $self->get_module('user') =~ /^Facebook/ ) {
|
||||
push @fields, map { /^(\w+)$/ ? ($1) : () } values %vars;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user