Zeile 67 | Zeile 67 |
---|
// Check for a valid forum $forum = get_forum($post['fid']);
|
// Check for a valid forum $forum = get_forum($post['fid']);
|
if(!isset($forum['fid']))
| if(!$forum)
|
{ $error = $lang->sprintf($lang->error_invalid_report, $report_type); }
| { $error = $lang->sprintf($lang->error_invalid_report, $report_type); }
|
Zeile 87 | Zeile 87 |
---|
{ $user = get_user($mybb->get_input('pid', MyBB::INPUT_INT));
|
{ $user = get_user($mybb->get_input('pid', MyBB::INPUT_INT));
|
if(!isset($user['uid']))
| if(!$user)
|
{ $error = $lang->sprintf($lang->error_invalid_report, $report_type); }
| { $error = $lang->sprintf($lang->error_invalid_report, $report_type); }
|