Skip to content

Commit

Permalink
Added "NO" as boolean false, for use with pgsql.
Browse files Browse the repository at this point in the history
  • Loading branch information
mworrell committed Apr 13, 2010
1 parent 028a9ec commit b4c7fb5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/support/z_convert.erl
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,12 @@ to_bool("false") -> false;
to_bool("FALSE") -> false;
to_bool("n") -> false;
to_bool("N") -> false;
to_bool("NO") -> false;
to_bool(<<"false">>) -> false;
to_bool(<<"FALSE">>) -> false;
to_bool(<<"n">>) -> false;
to_bool(<<"N">>) -> false;
to_bool(<<"NO">>) -> false;
to_bool("disabled") -> false;
to_bool(<<"disabled">>) -> false;
to_bool("DISABLED") -> false;
Expand Down

0 comments on commit b4c7fb5

Please sign in to comment.