Changeset 9556 for main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
- Timestamp:
- 6 Nov 2012, 10:57:07 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r9555 r9556 739 739 self.applyData(self.context, **data) 740 740 comment = data['officer_comment'] 741 self.context.writeLogMessage( 742 self, 'comment: %s' % comment.replace('\n', '<br>')) 743 args = {'subject':message, 'body':comment} 741 if comment: 742 self.context.writeLogMessage( 743 self, 'comment: %s' % comment.replace('\n', '<br>')) 744 args = {'subject':message, 'body':comment} 745 else: 746 args = {'subject':message,} 744 747 self.redirect(self.url(self.context) + 745 748 '/contactstudent?%s' % urlencode(args))
Note: See TracChangeset for help on using the changeset viewer.