Jump to content

  • twitter
  • youtube
  • googleplus
  • facebook
  • rss
  • newsletter


Issue information

  • #000545

  • Issue

  • 0 - None Assigned

  • Confirmed

  • 3.2.0

  • -


Issue Confirmations

  • Yes (2)No (0)
Photo

Author Override does not function properly

Posted by santicity on 11 September 2011 - 07:45 PM

When used for PM alert or topic alert, the author override does not function properly. Even if setting is checked to YES, it will still use the author ID setting in the subjects. I believe this is due to an error in the code, which calls for a value that does not exist, and as a result does not use the submitter's ID even if the author override setting is checked.

Open admin/applications_addon/other/contact/modules_public/display/display.php
Find:
$this->memberData['id'])
Replace with:
$this->memberData['member_id'])

Original Code
# Use submitter as topic author?
if($this->settings['cs_author_override'] == '1' AND $this->memberData['id'])
{
	$r['topic_author'] = $this->memberData['member_id'];	
}
Modified Code
# Use submitter as topic author?
if($this->settings['cs_author_override'] == '1' AND $this->memberData['member_id'])
{
	$r['topic_author'] = $this->memberData['member_id'];	
}

This seems to fix the problem :)

changed status to: Confirmed

Just to add, find_in_set is not appropriate for pm groups or other multiple searches.






1 user(s) are reading this issue

0 members, 1 guests, 0 anonymous users