Explorar el Código

website: fixed social icons and don't take lang from session for demo

version-14
Rushabh Mehta hace 12 años
padre
commit
7bf5b66338
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      webnotes/sessions.py

+ 1
- 1
webnotes/sessions.py Ver fichero

@@ -147,7 +147,7 @@ class Session:
data = self.get_session_record()
if data:
# set language
if data.lang:
if data.lang and self.user!="demo@erpnext.com":
webnotes.lang = data.lang
self.data = webnotes._dict({'data': data,
'user':data.user, 'sid': self.sid})


Cargando…
Cancelar
Guardar