We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15eb89a commit ad07bfeCopy full SHA for ad07bfe
1 file changed
controller/main.php
@@ -480,7 +480,7 @@ private function display_pb()
480
{
481
$sql = 'DELETE FROM ' . $this->table('pastebin') . '
482
WHERE snippet_id = ' . $snippet_id;
483
- $redirect_append = '';
+ $redirect_append = array();
484
}
485
486
else
@@ -490,7 +490,7 @@ private function display_pb()
490
'snippet_highlight' => $highlight,
491
'snippet_prune_on' => $row['snippet_time'] + ($pruning_months * $this::SECONDS_MONTH),
492
)) . ' WHERE snippet_id = ' . $snippet_id;
493
- $redirect_append = "mode=view&s=$snippet_id";
+ $redirect_append = array("mode"=>"view","s"=>$snippet_id);
494
495
$db->sql_query($sql);
496
0 commit comments