Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
b8c2f7f0
Commit
b8c2f7f0
authored
Oct 12, 2001
by
Dries
Browse files
- replaced a header("Location: xxx") by a drupal_goto()
parent
2d6fb0f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/queue.module
View file @
b8c2f7f0
...
...
@@ -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"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment