Fix possible SQL injection vulnerability in manager

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