MantisBT: master-1.2.x 9109ed67

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2016-04-18 03:28 master-1.2.x f8ea0a03
Affected Issues  0020824: collapse_cache_token() always update token ID # 5
Changeset

Fix token_touch() call in collapse_cache_token()

token_touch() requires a token ID, but we give it a TOKEN_COLLAPSE token
type instead, so collapse_cache_token() always tries to update token # 5
rather than the user's token.

Fixes 0020824

Backported from master fd47e9c8cb4d41e0d9ce9785c8b3d79b905fdd46.
Conflicts:
core/collapse_api.php

mod - core/collapse_api.php Diff File