added an extra check to avoid notices when donation result message isn't set.