Fixed  Lowercase 'Open' in Moderation Queue

Brogan

XenForo moderator
Staff member
#2
I've just checked on here and on my site and it is capitalised.

Are you running RC2?

Have you perhaps edited the phrase?
 

Brogan

XenForo moderator
Staff member
#4
It's a phrase: open_report

Unless you've edited the template and hard-coded it?

The template is report_view
 

Jeremy P

Well-known member
#5
The phrase open_report exists and is capitalized. Hmm.

prepareReport() in XenForo_ReportHandler_Abstract..
PHP:
switch ($report['report_state'])
{
	case 'open': $report['reportState'] = new XenForo_Phrase('open'); break;
    /* ... */
}
I don't have a phrase with the id 'open'.
 

Brogan

XenForo moderator
Staff member
#6
Ah, scratch my earlier, it's probably been fixed in the next release and has more than likely been rolled out here.

So I expect it was a bug and has now been fixed.

Let me check the latest equivalent of the code you posted above.

Yep, here's the new code:
PHP:
        switch ($report['report_state'])
        {
            case 'open': $report['reportState'] = new XenForo_Phrase('open_report'); break;
I'll mark this as already fixed :)
 
Top