Fixed an error in the storing the status into the session in the Mia core application.
This commit is contained in:
parent
e90defd25d
commit
b5e7f9878f
@ -44,7 +44,7 @@ def _store(request, status):
|
|||||||
if "stored_status" not in request.session:
|
if "stored_status" not in request.session:
|
||||||
request.session["stored_status"] = {}
|
request.session["stored_status"] = {}
|
||||||
id = _new_status_id(request.session["stored_status"])
|
id = _new_status_id(request.session["stored_status"])
|
||||||
request.session["stored_status"]["id"] = status
|
request.session["stored_status"][id] = status
|
||||||
return id
|
return id
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user