Created by: ZebaSz
Due to using the same variable name for query results and the function return value, sqlSelect discards the query results and always returns an empty array.
sqlSelect