fixed for email visibility icon if data isnt set

v1.18.x
Baris Usakli 12 years ago
parent 8f4d4664e4
commit 8cc3859e72

@ -393,7 +393,7 @@ var user = require('./../user.js'),
if(!canSeeEmail())
data.email = "";
if(callerUID === uid && data.showemail === "0")
if(callerUID === uid && (!data.showemail || data.showemail === "0"))
data.emailClass = "";
else
data.emailClass = "hide";

Loading…
Cancel
Save