Index: /main/waeup.kofa/trunk/src/waeup/kofa/students/export.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/students/export.py	(revision 8970)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/students/export.py	(revision 8971)
@@ -113,6 +113,7 @@
         if name == 'history':
             value = value.messages
-        if name == 'phone':
-            # Append hash '#' to dates to circumvent unwanted excel automatic
+        if name == 'phone' and value is not None:
+            # Append hash '#' to phone numbers to circumvent
+            # unwanted excel automatic
             value = str('%s#' % value)
         return super(
