fix issue 10113 - Can't use an enum : string in a switch statement
Merge pull request #2080 from hpohl/10113

fix issue 10113 - Can't use an enum : string in a switch statement