Pending

User tests: Successful: Unsuccessful:

avatar florianv
florianv
23 Apr 2012

You can see the issue here :

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=28393

JComponentHelper::isEnabled('com_anycomponent') will aways return true if the component doesn't exists because in getComponent($option, $strict = false), $result->enabled was set to true for the default $strict = false value. (logic inversion).

avatar florianv florianv - open - 23 Apr 2012
avatar florianv
florianv - comment - 23 Apr 2012

2 ° commit) I think the $strict param complicates things for nothing, and is never used in any "core extension" call.
Moreover, I don't get why the OR is there, because it's independent from the frontend/backend.

avatar florianv florianv - close - 20 Jun 2012
avatar beat beat - reference | ce3fd67 - 10 Sep 13

Add a Comment

Login with GitHub to post a comment