Commit 618b2b55 authored by Zachery Bir's avatar Zachery Bir

Fixed a tyop when reverting previously checked in changes

parent 3ad487ca
......@@ -12,9 +12,9 @@
##############################################################################
__doc__="""Object Manager
$Id: ObjectManager.py,v 1.170 2004/03/17 13:54:16 urbanape Exp $"""
$Id: ObjectManager.py,v 1.171 2004/03/17 16:34:26 urbanape Exp $"""
__version__='$Revision: 1.170 $'[11:-2]
__version__='$Revision: 1.171 $'[11:-2]
import App.Management, Acquisition, Globals, CopySupport, Products
import os, App.FactoryDispatcher, re, Products
......@@ -271,7 +271,7 @@ class ObjectManager(
if object.__ac_local_roles__ is None:
user=getSecurityManager().getUser()
if user is not None:
name=user.getName()
name=user.getUserName()
if name != 'Anonymous User':
object.manage_setLocalRoles(name, ['Owner'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment