joomla/joomla-cms — pull request #196 by florianv (2012-04-23 09:19:14+00:00)
Title: JComponentHelper::isEnabled returns true if the component doesn't exist

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).