Hydrahon
Hydrahon copied to clipboard
Run() method returns empty array
Hi,
I belive there is a problem with the run() method implemented in Select.php. The function seems to be called from one-result helpers, and it should return the query result.
The method executes the query calling executeResultFetcher() which returns a mysqli object, then tests if it is an array, if not returns an empty array. Shoudn't it fetch the results first then test if it is an array, instead of testing the object?