BUG? hide_email variable not getting set correctly

Started by tomis, May 16, 2006, 07:46:20 AM

Previous topic - Next topic

tomis

Running SMF 1.1 RC2 with a modified version of the default template.

All memeber emails are getting shown in the post, whether or not hideEmail is 0 or 1 in the database.  When doing vardump on the $message array in Display.template.php, I see that:

$message['member']['hide_email'] is always empty
and
$message['member']['email_public'] actually holds the correct value for the hideEmail column.

So, I'm assuming this is a bug in the default template and I should replace all instances of $message['member']['hide_email'] with $message['member']['email_public']

Could someone confirm this please? :)
~

Advertisement: