[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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user