[FIX] Attach file to notification when file is in database and not on disk
[FIX] Attach file to notification when file is in database and not on disk

An empty mime part was attached to notification emails when file was saved in database.

Please fix STABLE branch, too.

git-svn-id: a7fabbc6a7c54ea5c67cbd16bd322330fd10cc35@15651 b456876b-0849-0410-b77d-98878d47e9d5

oregional/tiki,tikiorg/tiki,changi67/tiki,tikiorg/tiki,changi67/tiki,changi67/tiki,oregional/tiki,tikiorg/tiki,tikiorg/tiki,oregional/tiki,changi67/tiki,changi67/tiki,oregional/tiki