Browse Source

One more bug fix

Signed-off-by: Michael Eshom <[email protected]>
Michael Eshom 10 years ago
parent
commit
e6db044832
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Sources/Modlog.php

+ 2 - 2
Sources/Modlog.php

@@ -622,9 +622,9 @@ function list_getModLogEntries($start, $items_per_page, $sort, $query_string = '
 		{
 			// Member profile reports go in a different area
 			if (stristr($entry['action'], 'user_report'))
-				$entries[$k]['extra']['report'] = '<a href="' . $scripturl . '?action=moderate;area=reportedmembers;report=' . $entry['extra']['report'] . '">' . $txt['modlog_report'] . '</a>';
+				$entries[$k]['extra']['report'] = '<a href="' . $scripturl . '?action=moderate;area=reportedmembers;sa=details;rid=' . $entry['extra']['report'] . '">' . $txt['modlog_report'] . '</a>';
 			else
-				$entries[$k]['extra']['report'] = '<a href="' . $scripturl . '?action=moderate;area=reportedposts;report=' . $entry['extra']['report'] . '">' . $txt['modlog_report'] . '</a>';
+				$entries[$k]['extra']['report'] = '<a href="' . $scripturl . '?action=moderate;area=reportedposts;sa=details;rid=' . $entry['extra']['report'] . '">' . $txt['modlog_report'] . '</a>';
 		}
 
 		if (empty($entries[$k]['action_text']))