Issue #1311302 by AntoineSolutions: Applied patch missed replacing a reference to a non-existant variable.