mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[ticket/15697] Remove unused variable and corresponding input field
PHPBB3-15697
This commit is contained in:
@@ -48,7 +48,6 @@ function compose_pm($id, $mode, $action, $user_folders = array())
|
|||||||
$to_group_id = $request->variable('g', 0);
|
$to_group_id = $request->variable('g', 0);
|
||||||
$msg_id = $request->variable('p', 0);
|
$msg_id = $request->variable('p', 0);
|
||||||
$draft_id = $request->variable('d', 0);
|
$draft_id = $request->variable('d', 0);
|
||||||
$lastclick = $request->variable('lastclick', 0);
|
|
||||||
|
|
||||||
// Reply to all triggered (quote/reply)
|
// Reply to all triggered (quote/reply)
|
||||||
$reply_to_all = $request->variable('reply_to_all', 0);
|
$reply_to_all = $request->variable('reply_to_all', 0);
|
||||||
@@ -1174,7 +1173,6 @@ function compose_pm($id, $mode, $action, $user_folders = array())
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$s_hidden_fields = '<input type="hidden" name="lastclick" value="' . $current_time . '" />';
|
|
||||||
$s_hidden_fields .= (isset($check_value)) ? '<input type="hidden" name="status_switch" value="' . $check_value . '" />' : '';
|
$s_hidden_fields .= (isset($check_value)) ? '<input type="hidden" name="status_switch" value="' . $check_value . '" />' : '';
|
||||||
$s_hidden_fields .= ($draft_id || isset($_REQUEST['draft_loaded'])) ? '<input type="hidden" name="draft_loaded" value="' . ((isset($_REQUEST['draft_loaded'])) ? $request->variable('draft_loaded', 0) : $draft_id) . '" />' : '';
|
$s_hidden_fields .= ($draft_id || isset($_REQUEST['draft_loaded'])) ? '<input type="hidden" name="draft_loaded" value="' . ((isset($_REQUEST['draft_loaded'])) ? $request->variable('draft_loaded', 0) : $draft_id) . '" />' : '';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user