phpBB

Code Changes

File: phpbb/report/controller/report.php

  Unmodified   Added   Modified   Removed
Line 104Line 104
		$user_notify	= ($this->user->data['is_registered']) ? $this->request->variable('notify', 0) : false;
$reason_id = $this->request->variable('reason_id', 0);
$report_text = $this->request->variable('report_text', '', true);

		$user_notify	= ($this->user->data['is_registered']) ? $this->request->variable('notify', 0) : false;
$reason_id = $this->request->variable('reason_id', 0);
$report_text = $this->request->variable('report_text', '', true);

 

/**
* Replace Emojis and other 4bit UTF-8 chars not allowed by MySQL to UCR/NCR.
* Using their Numeric Character Reference's Hexadecimal notation.
*/
$report_text = utf8_encode_ucr($report_text);


$submit = $this->request->variable('submit', '');
$cancel = $this->request->variable('cancel', '');


$submit = $this->request->variable('submit', '');
$cancel = $this->request->variable('cancel', '');