Skip to content

Commit

Permalink
Moved erlydtl_expander.erl to wpart app
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Kaleta committed Jul 28, 2009
1 parent d4c0889 commit d2df439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/erlydtl-0.5.3/src/erlydtl/erlydtl_runtime.erl
Expand Up @@ -15,11 +15,11 @@ find_value(Key, Tuple) when is_tuple(Tuple) ->
Module = element(1, Tuple),
case Module of
dict ->
case dict:find(Key, Tuple) of
case dict:find(atom_to_list(Key), Tuple) of
{ok, Val} ->
Val;
_ ->
case dict:find(atom_to_list(Key), Tuple) of
case dict:find(Key, Tuple) of
{ok, Val} ->
Val;
_ ->
Expand Down

0 comments on commit d2df439

Please sign in to comment.