Update to FTP Module
First time submitting a PR for this project, I'm not sure what branch I should be targeting, feel free to yell at me and tell me that I was supposed to target the bug fix branch or whatever.
Anyway, I ran sudo apt-get upgrade on my server and got forced into PHP7. I've got through quite the headache of making sure things were mostly working on my server but one major thing that was broken was FTP user management. I've gone ahead and found the issue and fixed it. I'd love any feedback, but this change is quite straightforward.
There were date fields that were being sent to the server as nulls which isn't a valid date. The default on the sql server was to set those as 0000-00-00 00:00:00 but for some reason it seems sql doesn't like that anymore... I don't know how this was working before, but I put in the somewhat sensible default of NOW() for those datetime fields.
It's working on my server now, but I haven't really dug into the sentora project too much beyond this PR so I'm not sure if sentora is also available to non-mysql databases. If it is, the NOW() variable might be an issue, just let me know and I'll figure out the correct command, otherwise this should be perfectly suitable to merge in.