phpBB

Code Changes

File: phpbb/message/form.php

  Unmodified   Added   Modified   Removed
Line 136Line 136
	{
if (!check_form_key('memberlist_email'))
{

	{
if (!check_form_key('memberlist_email'))
{

			$this->errors[] = 'FORM_INVALID';

			$this->errors[] = $this->user->lang('FORM_INVALID');

		}


		}


		if (!sizeof($this->errors))

		if (!count($this->errors))

		{
$sql = 'UPDATE ' . USERS_TABLE . '
SET user_emailtime = ' . time() . '

		{
$sql = 'UPDATE ' . USERS_TABLE . '
SET user_emailtime = ' . time() . '

Line 169Line 169
		add_form_key('memberlist_email');

$template->assign_vars(array(

		add_form_key('memberlist_email');

$template->assign_vars(array(

			'ERROR_MESSAGE'		=> (sizeof($this->errors)) ? implode('<br />', $this->errors) : '',

			'ERROR_MESSAGE'		=> (count($this->errors)) ? implode('<br />', $this->errors) : '',

		));
}
}

		));
}
}