title: Joomla 2.5 get component configuration in config.xml ALWAYS return null
body: <p>Please help me with this</p>
  
  <p>I am creating a component. There is a config.xml in my component
  I write my custom JFormFieldUserCheck
  in userCheck.php I want to load parameter or field from config.xml</p>
  
  <p>I used </p>
  
  <pre><code>$param = JComponentHelper::getParams('com_my-component');
  var_dump($param);
  </code></pre>
  
  <p>Resul is </p>
  
  <pre><code>object(stdClass)#214 (0) { }
  </code></pre>
  
  <p>But when I change com_my-component to com_content (Joomla default component).
  then var_dump, result is fine.</p>
  
  <p>Thanks in advance</p>