Project

General

Profile

Actions

Bug #5161

closed

isAuthorized cache broken for non-integer IDs

Added by krileon over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
05 March 2015
Due date:
% Done:

100%

Estimated time:

Description

When an ID is generated with uniqid() (e.g. dynamic privacy rules) its caching is broken as it's casted to int resulting in all dynamic rules caching to id 0.

https://www.joomlapolis.com/forum/154-advanced-members-support/228626-5157-cb-206-privacy-402-all-options-set-no-effect?start=6#260159

Actions

Also available in: Atom PDF