Issue #2325611 by coltex: Fix 'Undefined property' notice