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
dde0923c
Commit
dde0923c
authored
Dec 22, 2007
by
Gábor Hojtsy
Browse files
#202967
by catch: kill notice on forum page
parent
bfca6214
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/forum/forum.module
View file @
dde0923c
...
...
@@ -258,7 +258,7 @@ function forum_nodeapi(&$node, $op, $teaser, $page) {
break
;
case
'update'
:
if
(
!
$node
->
revision
&&
db_result
(
db_query
(
'SELECT tid FROM {forum} WHERE nid=%d'
,
$node
->
nid
)))
{
if
(
empty
(
$node
->
revision
)
&&
db_result
(
db_query
(
'SELECT tid FROM {forum} WHERE nid=%d'
,
$node
->
nid
)))
{
if
(
!
empty
(
$node
->
tid
))
{
db_query
(
'UPDATE {forum} SET tid = %d WHERE vid = %d'
,
$node
->
tid
,
$node
->
vid
);
}
...
...
Write
Preview
Supports
Markdown
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