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');
|
my @fields = ('id');
|
||||||
|
|
||||||
# Look at wanted fields
|
# Look at wanted fields
|
||||||
my %vars =
|
my %vars = %{ $self->{facebookExportedVars} };
|
||||||
( %{ $self->{exportedVars} },
|
|
||||||
%{ $self->{facebookExportedVars} } );
|
|
||||||
if ( $self->get_module('user') =~ /^Facebook/ ) {
|
if ( $self->get_module('user') =~ /^Facebook/ ) {
|
||||||
push @fields, map { /^(\w+)$/ ? ($1) : () } values %vars;
|
push @fields, map { /^(\w+)$/ ? ($1) : () } values %vars;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user