Address fatal errors on PHP7.1 - only vars can be passed by reference.
authorChris Burgess <chris@giantrobot.co.nz>
Sun, 23 Apr 2017 02:22:40 +0000 (14:22 +1200)
committerChris Burgess <chris@giantrobot.co.nz>
Sun, 23 Apr 2017 02:23:13 +0000 (14:23 +1200)
commitceef521aaaa8152b3b97094cb7130b08efadc9d2
tree14c5d503a6cee16bb0b2c49c32d4fdc20543c4e1
parent9caf6ce7e1d6b1cd84612502c14ec0fe2e186bcc
Address fatal errors on PHP7.1 - only vars can be passed by reference.

It is not clear why we clone these DAO/BAO objects, but we cannot do it inside the function call. It is likely this fix can be improved.

CRM-20466
api/v3/File.php
api/v3/MembershipStatus.php