CRM-13027 - Fix bad results from getFields:
authorTim Otten <totten@civicrm.org>
Sun, 1 Sep 2013 01:37:11 +0000 (18:37 -0700)
committerTim Otten <totten@civicrm.org>
Sun, 1 Sep 2013 01:37:11 +0000 (18:37 -0700)
commit837afcfe808aee6b3f230b8c0c371e6c3ac82f5d
tree4995f215a7b7643b679b1260dc6465c378207931
parenteb6704c59e711434a2a77fd2e341dfc9326595e7
CRM-13027 - Fix bad results from getFields:

 * If entity is not extendable, then field list should be empty (not all).
 * If entity is blank, then throw an error.

----------------------------------------
* CRM-13027: Default getFields returns irrelevant custom-data fields
  http://issues.civicrm.org/jira/browse/CRM-13027
CRM/Core/BAO/CustomField.php
api/v3/utils.php