Index: /main/waeup.aaue/trunk/src/waeup/aaue/students/viewlets.py
===================================================================
--- /main/waeup.aaue/trunk/src/waeup/aaue/students/viewlets.py	(revision 11625)
+++ /main/waeup.aaue/trunk/src/waeup/aaue/students/viewlets.py	(revision 11626)
@@ -53,6 +53,6 @@
         if self.context.matric_number:
             return ''
-        matric_number = students_utils.constructMatricNumber(self.context)
-        if not matric_number:
+        error, matric_number = students_utils.constructMatricNumber(self.context)
+        if error:
             return ''
         return self.view.url(self.view.context, 'get_matric_number')
