[fix][#30980] Undefined variable extension
Merge pull request #1175 from phproberto/30980

[fix][#30980] Undefined variable extension