Made it compilable with 7.1

This commit is contained in:
Jocelyn Fiat
2013-03-08 22:13:27 +01:00
parent 334f7a362b
commit f6e15b6ce1
4 changed files with 7 additions and 12 deletions

View File

@@ -79,9 +79,9 @@ feature -- Access
Result.add_value (t.item, t.item.name)
end
else
p := k.index_of ('[', 1)
p := k.index_of_code (91, 1) -- 91 '['
if p > 0 then
q := k.index_of (']', p + 1)
q := k.index_of_code (93, p + 1) -- 93 ']'
if q > p then
if q = p + 1 then
-- []

View File

@@ -92,7 +92,7 @@ feature -- Hooks
create fh.make_with_text ("openid-identity", l_openid_identity.to_string_32)
a_execution.remove_session_item ("openid.identity")
a_form.extend (fh)
a_form.extend_text ("The new account will be associated with OpenID %""+ l_openid_identity +"%"")
a_form.extend_text ("The new account will be associated with OpenID %""+ a_execution.html_encoded (l_openid_identity) +"%"")
if attached {READABLE_STRING_GENERAL} a_execution.session_item ("openid.nickname") as l_openid_nickname then
if attached a_form.fields_by_name ("username") as f_lst then
across