sanitized ILIKE input
Merge branch 'master' of github.com:unepwcmc/SAPI
replaced reference to named function parameter in sql function with dollar notation