Fixes typos in #613

. . . where missing variable name caused PHP errors.