Fix silly mistake in pattern match
Project: http://git-wip-us.apache.org/repos/asf/couchdb-twig/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-twig/commit/d40c6149 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-twig/tree/d40c6149 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-twig/diff/d40c6149 Branch: refs/heads/import Commit: d40c6149123243a789fe3464c8d4a48248974f3b Parents: 14e3e0a Author: Adam Kocoloski <[email protected]> Authored: Tue Mar 8 13:54:01 2011 -0500 Committer: Adam Kocoloski <[email protected]> Committed: Tue Mar 8 13:54:01 2011 -0500 ---------------------------------------------------------------------- src/twig_event_handler.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-twig/blob/d40c6149/src/twig_event_handler.erl ---------------------------------------------------------------------- diff --git a/src/twig_event_handler.erl b/src/twig_event_handler.erl index 1c83181..b8ca64f 100644 --- a/src/twig_event_handler.erl +++ b/src/twig_event_handler.erl @@ -150,6 +150,6 @@ get_value(Key, Props) -> case lists:keyfind(Key, 1, Props) of {Key, Value} -> Value; - undefined -> + false -> undefined end.
