Affiliate edit referral rate error

When you put nothing on the referral rate input box, it creates an SQL
error. We set it to 0 if no value is entered.
space added
Merge pull request #53 from tareq1988/master

Affiliate edit referral rate error