1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

[cookie]changed 'topinfo' to 'note_id'

This commit is contained in:
llj
2012-08-21 11:27:09 +08:00
parent 81c88a323e
commit 468cc92f9b
2 changed files with 8 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ class InfobarMiddleware(object):
return ret
def process_request(self, request):
topinfo_close = request.COOKIES.get('topinfo', '')
topinfo_close = request.COOKIES.get('note_id', '')
cur_note = cache.get('CUR_TOPINFO') if cache.get('CUR_TOPINFO') else \
self.get_from_db()