[website] [fix]

This commit is contained in:
Anand Doshi 2013-05-02 17:47:17 +05:30
parent 0382d5a01d
commit cd772daf1d

View File

@ -71,8 +71,8 @@ def update_template_args(page_name, args):
"disable_signup"]:
args[k] = cint(args.get(k) or 0)
args.url = quote(cstr(get_request_site_address(full_address=True)), cstr(""))
args.encoded_title = quote(cstr(args.title or ""), cstr(""))
args.url = quote(str(get_request_site_address(full_address=True)), str(""))
args.encoded_title = quote(str(args.title or ""), str(""))
return args