Fix undefined variable (typo)
Merge pull request #2756 from zachallaun/fix-var-typo

Fix undefined variable (typo)