One more place we shouldn't trust user_email.

This commit is contained in:
Dannon Baker
2014-12-08 17:16:21 -05:00
parent 77cf30a1c7
commit ebdbda1bdc
+1 -1
View File
@@ -21,7 +21,7 @@
## Refresh masthead == user changes (backward compatibility)
if ( parent.user_changed ) {
%if trans.user:
parent.user_changed( "${trans.user.email}", ${int( app.config.is_admin_user( trans.user ) )} );
parent.user_changed( "${trans.user.email | h }", ${int( app.config.is_admin_user( trans.user ) )} );
%else:
parent.user_changed( null, false );
%endif