Fix typo in variable name that caused PHP notice/warning