server/schemahooks.py
branchstable
changeset 3881 a192bc3c13b7
parent 3870 a6b029aa0f44
child 3889 8902b8745918
child 4129 887e3edc30c5
--- a/server/schemahooks.py	Thu Nov 19 12:58:57 2009 +0100
+++ b/server/schemahooks.py	Thu Nov 19 18:01:57 2009 +0100
@@ -963,7 +963,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)