Bug #3625
closed
Userlist uses CB profile Itemid when SEF is enabled instead of its own Itemid
Added by krileon over 12 years ago.
Updated about 12 years ago.
Start date:
02 August 2012
Files
It's due to $_CB_framework->itemid() not being populated when SEF is enabled. As a fallback it'll use the CB profile Itemid, which is good.
We use JFactory::getURI()->getVar( 'Itemid' ) to retrieve the Itemid from the URL, but this isn't populated when SEF is enabled.
- File 3625.patch 3625.patch added
- Status changed from Assigned to Resolved
- Assignee changed from krileon to beat
- % Done changed from 0 to 100
Implemented fix to first check for current active menu link. If none then try to get the Itemid from the current URL.
Alternative is to simply pull Itemid from $_REQUEST, which maybe a better approach.
- Priority changed from Normal to High
- Status changed from Resolved to Closed
- Estimated time set to 2:00 h
Fixed as suggested in r1876 .
Thank you Kyle.
Also available in: Atom
PDF