[FIX] web: company_logo route may be accessed with uid = False in some cases, it should still work
bzr revid: odo@openerp.com-20130404143144-3o2j0xbwh4m84tu8
This commit is contained in:
parent
30cce00296
commit
f0320d4258
|
@ -1371,7 +1371,7 @@ class Binary(openerpweb.Controller):
|
|||
elif dbname is None:
|
||||
dbname = db_monodb(req)
|
||||
|
||||
if uid is None:
|
||||
if not uid:
|
||||
uid = openerp.SUPERUSER_ID
|
||||
|
||||
if not dbname:
|
||||
|
|
Loading…
Reference in New Issue