Skip to content

Commit

Permalink
ale_pd:params/2 ignores undefined value
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocdaothanh committed Aug 14, 2009
1 parent cf341f4 commit 090096f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ale_pd.erl
Expand Up @@ -231,6 +231,7 @@ ip() ->
Ip.

%% Key: string().
params(_Key, undefined) -> ok;
params(Key, Value) ->
% For check boxes etc. there may be multiple values for a single key
Value2 = case erlang:get(?KEY(params, Key)) of
Expand Down

0 comments on commit 090096f

Please sign in to comment.