forum MDL-25909 - Fix undefined variable