Commit 7322a51f3e76656543929d89035d475c51d04e06

Authored by totoro
1 parent 93a3526e

Change the way for reading the boolean from web arg. Now read correctly the bool…

…ean with a value to false.
Showing 2 changed files with 2 additions and 2 deletions   Show diff stats
calexium_lib @ 647c64d2796
1 -Subproject commit 3a2758b69ccb9499f35eec40cc72b2cae14998fc 1 +Subproject commit 647c64d2796d0c141d54b63c306ed534256acd46
src/generation/web_args.anubis
@@ -107,7 +107,7 @@ public define String @@ -107,7 +107,7 @@ public define String
107 //anubis(_T) then "constant_byte_array(0,0)", 107 //anubis(_T) then "constant_byte_array(0,0)",
108 p_key then "[]", 108 p_key then "[]",
109 boolean_field then 109 boolean_field then
110 - "if get_mb_Bool(lwa, __prefix__+\""+name+"\") is {failure then [], success("+name+") then [field(\""+name+"\", bind_Bool(\":v_"+name+"\", "+name+"))] }", 110 + "[field(\""+name+"\", bind_Bool(\":v_"+name+"\", get_Bool(lwa, __prefix__+\""+name+"\")))]",
111 date_field(attrs) then 111 date_field(attrs) then
112 if attrs = none then 112 if attrs = none then
113 "if get_DB_date(lwa, __prefix__+\""+name+"\") is {failure then [], success("+name+") then [field(\""+name+"\", bind_Date(\":v_"+name+"\", "+name+"))] }" 113 "if get_DB_date(lwa, __prefix__+\""+name+"\") is {failure then [], success("+name+") then [field(\""+name+"\", bind_Date(\":v_"+name+"\", "+name+"))] }"