Index: /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py
===================================================================
--- /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py	(revision 13129)
+++ /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py	(revision 13130)
@@ -222,6 +222,6 @@
         slip = getUtility(IExtFileStore).getFileByContext(
             self.context, 'application_slip')
-        PWCHANGE_STATES = getUtility(IStudentsUtils).PWCHANGE_STATES
-        if self.context.state not in PWCHANGE_STATES or slip is not None:
+        PORTRAIT_CHANGE_STATES = getUtility(IStudentsUtils).PORTRAIT_CHANGE_STATES
+        if self.context.state not in PORTRAIT_CHANGE_STATES or slip is not None:
             return ''
         return self.view.url(self.view.context, self.target)
@@ -239,6 +239,6 @@
         slip = getUtility(IExtFileStore).getFileByContext(
             self.context, 'application_slip')
-        PWCHANGE_STATES = getUtility(IStudentsUtils).PWCHANGE_STATES
-        if self.context.state not in PWCHANGE_STATES or slip is not None:
+        PORTRAIT_CHANGE_STATES = getUtility(IStudentsUtils).PORTRAIT_CHANGE_STATES
+        if self.context.state not in PORTRAIT_CHANGE_STATES or slip is not None:
             emit_lock_message(self)
             return
