Fix SQL injection vulnerability in manager

https://github.com/modxcms/evolution/commit/b875144800c8397ffe99c26d321a7e4d525f5822