Skip to content

Commit

Permalink
Revert "Fix for restrict_allow which was being clobbered by default v…
Browse files Browse the repository at this point in the history
…alues."

This reverts commit 8ba9a07.
  • Loading branch information
hexfusion committed May 9, 2016
1 parent 8ba9a07 commit d8430dd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/Vend/Table/Editor.pm
Expand Up @@ -916,11 +916,7 @@ sub display {
last METAMAKE;
}

if ($record->{restrict_allow}) {
my %restrict_allow;
@restrict_allow{grep /\S/, split / /, $opt->{restrict_allow} . ' ' . $record->{restrict_allow}} = ();
$opt->{restrict_allow} = join ' ', sort keys %restrict_allow;
}
$opt->{restrict_allow} ||= $record->{restrict_allow};
#::logDebug("formatting prepend/append/lookup_query name=$opt->{name} restrict_allow=$opt->{restrict_allow}");
for(qw/append prepend lookup_query/) {
next unless $record->{$_};
Expand Down

0 comments on commit d8430dd

Please sign in to comment.