Update DatabaseConnector.php

# fixed error if response is empty