Index: /main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py	(revision 9428)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py	(revision 9429)
@@ -362,4 +362,13 @@
         elif category == 'hostel_maintenance':
             amount = academic_session.maint_fee
+            bedticket = student['accommodation'].get(
+                str(student.current_session), None)
+            if bedticket:
+                p_item = bedticket.bed_coordinates
+            else:
+                # Should not happen because this is already checked
+                # in the browser module, but anyway ...
+                portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
+                p_item = trans(_('no bed allocated'), portal_language)
         if amount in (0.0, None):
             return _('Amount could not be determined.' +
