Commit b8c2f7f0 authored by Dries's avatar Dries
Browse files

- replaced a header("Location: xxx") by a drupal_goto()
parent 2d6fb0f7
......@@ -86,7 +86,7 @@ function queue_node($id) {
$node = node_get_object(array(nid => $id));
if ($user->uid == $node->author || field_get($node->users, $user->uid)) {
header("Location: node.php?id=$node->nid");
drupal_goto("node.php?id=$node->nid");
}
else {
$queue_votes = array("neutral (+0)" => "+ 0", "post it (+1)" => "+ 1", "dump it (-1)" => "- 1");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment