Skip to content

Commit

Permalink
Item13490: break infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Crawford Currie committed Jun 30, 2015
1 parent 7c3af51 commit 004c110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Tables/Reader.pm
Expand Up @@ -166,7 +166,7 @@ sub early_line {
# There may be several on the line (yuck)
my $ok = 0;
while ( $line =~ /%(TABLE|$this->{macro})(\{.*?\})?%/s ) {
$ok ||= $this->_early_line( $line, $1 );
$ok = 1 if $this->_early_line( $line, $1 );
}
push( @{ $this->{waiting} }, $line ) if $ok && length($line);
return $ok;
Expand Down

0 comments on commit 004c110

Please sign in to comment.