Skip to content

Commit

Permalink
filter_index_of: Removed debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan Scherpenisse committed Sep 30, 2011
1 parent cf36e4b commit 5302c80
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/mod_base/filters/filter_index_of.erl
Expand Up @@ -31,10 +31,8 @@ index_of(undefined, _Value, _Context) ->
index_of(<<>>, _Value, _Context) ->
undefined;
index_of(Input, Value, _Context) when is_list(Input) ->
?DEBUG(Input),
get_index_of(Value, Input, 1);
index_of(Input, Value, Context) ->
?DEBUG(Input),
index_of(erlydtl_runtime:to_list(Input, Context), Value, Context).

get_index_of(_, [], _) -> undefined;
Expand Down

0 comments on commit 5302c80

Please sign in to comment.