Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
36721f46
Commit
36721f46
authored
Feb 15, 2004
by
Dries Buytaert
Browse files
- Fixed a problem editing nodes. Spotted by Steven.
parent
4b0b2d02
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/forum.module
View file @
36721f46
...
...
@@ -214,7 +214,7 @@ function forum_validate(&$node) {
}
function
forum_form
(
&
$node
,
&
$error
)
{
if
(
!
$node
->
taxonomy
)
{
if
(
!
$node
->
nid
)
{
// new topic
$node
->
taxonomy
[]
=
arg
(
3
);
}
...
...
modules/forum/forum.module
View file @
36721f46
...
...
@@ -214,7 +214,7 @@ function forum_validate(&$node) {
}
function
forum_form
(
&
$node
,
&
$error
)
{
if
(
!
$node
->
taxonomy
)
{
if
(
!
$node
->
nid
)
{
// new topic
$node
->
taxonomy
[]
=
arg
(
3
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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