[Rejected] Report reasons ignore the "all" value.
#1
The report reasons system allows for reasons to be used for any kind of report, even though the code doesn't seems to agree:
$reportreasons = $cache->read('reportreasons');
$reasons = $reportreasons[$report_type];
$reasonslist = '';
foreach($reasons as $reason)
{
	$reason['title'] = htmlspecialchars_uni($lang->parse($reason['title']));
	eval("\$reasonslist .= \"".$templates->get("report_reason")."\";");
}
eval("\$report_reasons = \"".$templates->get("report_reasons")."\";");


Attached Files Thumbnail(s)
   
Reply
#2
Weird, it seems to be working now. Probably the cache needed some refresh? I will test a little more.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)