Fix api basic get return properties
authorColeman Watts <coleman@civicrm.org>
Fri, 1 Jan 2016 03:45:47 +0000 (22:45 -0500)
committerColeman Watts <coleman@civicrm.org>
Fri, 1 Jan 2016 03:45:47 +0000 (22:45 -0500)
commit357f9d0e767cd9b1d03f50fffd943e828e01a876
treed744292306212f0386a10315d089def788836a15
parent580e78172fe6c89e5ce0919fa40456b7ee4a1722
Fix api basic get return properties

Api basic get was crashing when a non-existant field was in the return properties.
But there are legitimate reasons for this e.g. apis with the ability to return extra info when requested via magic return params.

Also fixes handling of field aliases in the return properties.
api/v3/utils.php