Fixed #1275 (Creating assignment pdf failed)
Merge pull request #1276 from emanuelschuetze/fix-1275

Fixed #1275 (Creating assignment pdf failed)