Skip to content

Commit

Permalink
Item13486: SET macro should not assert a missing parameter. That's a …
Browse files Browse the repository at this point in the history
…data fault, not a code problem
  • Loading branch information
Crawford Currie committed Jun 30, 2015
1 parent 617787b commit 284c459
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/lib/Foswiki/Macros/SET.pm
Expand Up @@ -17,7 +17,6 @@ sub SET {
my ( $this, $params, $topicObject ) = @_;

my $name = $params->{_DEFAULT} || $params->{name};
ASSERT($name) if DEBUG;

return '' unless defined $name;

Expand Down

0 comments on commit 284c459

Please sign in to comment.