Fix #1348 : Call to undefined app property
Merge pull request #512 from romainneutron/fix-1348

Fix #1348 : Call to undefined app property