Fixed
Details
Details
Priority
Assignee
Alex
AlexReporter
Phil Banks
Phil BanksDeveloper
Alex
AlexExternal issue ID
880
External issue URL
Fix versions
Affects versions
Patch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
Created October 5, 2010 at 8:24 PM
Updated December 29, 2024 at 9:16 PM
Resolved November 30, 2010 at 6:48 PM
Tags "m_CheckPermission" and "c_HasPermission" doesn't work, when used on home page (index.tpl template).
This happens, because current category is detected as "0" on that template, however it's 1 (ID of "Content"/"Home" category). In 4.x versions of In-Portal it indeed was 0. I supposed not all places were properly adapted to such ID change.
I propose, to set current category id ("m_cat_id" variable) to actual ID of "Content"/"Home" category, when it's equals to "0".