Wedge
Public area => Bug reports => The Pub => Archived fixes => Topic started by: Farjo on December 28th, 2012, 03:51 PM
-
I cannot believe that I'm the first to notice this but here goes:
Clicking any link to show topics or posts awaiting approval gives this error message:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ']' in /..../Sources/PostModeration.php on line 158
This happens from within the forum or the admin centre.
-
This was fixed in r1787.
Line 158:
$details[$anItem]['member'] = $row[$context['current_view'] == 'topics' 'id_member_started' : 'id_member'];
Replace with
$details[$anItem]['member'] = $row[$context['current_view'] == 'topics' ? 'id_member_started' : 'id_member'];
-
Yes, that has worked thank you.