Fixed SQL bug that came up on some setups (typically Windows-based) where affiliates wouldn't insert. (Thanks, Jose Fernandez)
Merge branch 'master' of github.com:strangerstudios/pmpro-affiliates