CRM-15171: fix variables in Register.php
Merge pull request #3984 from yashodha/CRM-15171

CRM-15171: fix variables in Register.php