|
@@ -94,14 +94,14 @@ |
|
|
block discarded – undo |
|
94
|
94
|
protected function get_data_overwrite($mode, $u_action, $type, $topic_id) |
|
95
|
95
|
{ |
|
96
|
96
|
$overwrite = array( |
|
97
|
|
- 'TOPIC_URL' => $u_action . '&do=view&type=' . $type . '&t=' . $topic_id, |
|
|
97
|
+ 'TOPIC_URL' => $u_action.'&do=view&type='.$type.'&t='.$topic_id, |
|
98
|
98
|
'U_INFO' => '', |
|
99
|
99
|
); |
|
100
|
100
|
|
|
101
|
101
|
if ($mode === 'mcp') |
|
102
|
102
|
{ |
|
103
|
103
|
$redirect_url = urlencode(str_replace('&', '&', $u_action)); |
|
104
|
|
- $overwrite['U_DELETE'] = append_sid("{$this->phpbb_root_path}mcp.$this->php_ext", 'quickmod=1&action=delete_topic&t=' . $topic_id . '&redirect=' . $redirect_url); |
|
|
104
|
+ $overwrite['U_DELETE'] = append_sid("{$this->phpbb_root_path}mcp.$this->php_ext", 'quickmod=1&action=delete_topic&t='.$topic_id.'&redirect='.$redirect_url); |
|
105
|
105
|
} |
|
106
|
106
|
|
|
107
|
107
|
return $overwrite; |
Please login to merge, or discard this patch.