Fix PHP error when re-activating user (issue #714)
Fix PHP error when re-activating user (issue #714)

I haven't tested sending the activation email though.

kelaskakap/cms-api-unggun,kelaskakap/cms-api-unggun,kelaskakap/cms-api-unggun,PeterRock/Ci-Bonfire3,PeterRock/Ci-Bonfire3,PeterRock/Ci-Bonfire3