server/schemahooks.py
branchreldefsecurity
changeset 3889 8902b8745918
parent 3877 7ca53fc72a0a
parent 3881 a192bc3c13b7
--- a/server/schemahooks.py	Thu Nov 19 12:55:47 2009 +0100
+++ b/server/schemahooks.py	Fri Nov 20 17:51:34 2009 +0100
@@ -906,7 +906,7 @@
     # don't use getattr(entity, attr), we would get the modified value if any
     for attr in ro_attrs:
         if attr in entity.edited_attributes:
-            orival, newval = entity_oldnewvalue(entity, attr)
+            origval, newval = entity_oldnewvalue(entity, attr)
             if newval != origval:
                 errors[attr] = session._("can't change the %s attribute") % \
                                display_name(session, attr)