Fix: don't pass [] to mysqli_fetch_row() on error.