mysql getUserSettings bug