Browse Source

typo fixed

Andrey Sergienko 10 years ago
parent
commit
3ee7b277c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/userhelper.erl

+ 1 - 1
src/userhelper.erl

@@ -4,7 +4,7 @@
 -include_lib("kvs/include/user.hrl").
 
 updateProplist({K,V},P) ->
-    Prop = case P of undefine -> []; _P -> _P end,
+    Prop = case P of undefined -> []; _P -> _P end,
     case proplists:get_value(K,Prop) of
         undefined -> [{K,V} | Prop];
 	        _ -> lists:keyreplace(K,1,Prop,{K,V})