Fix #1319 : Admin subdef creation fails
Merge pull request #504 from romainneutron/fix-1319

[3.8] Fix #1319 : Admin subdef creation fails