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
cf2802a7
Commit
cf2802a7
authored
Mar 04, 2003
by
Dries
Browse files
- Fixed typo: $node->tid -> $node->tid[].
parent
b10c5f42
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/forum.module
View file @
cf2802a7
...
...
@@ -249,7 +249,7 @@ function forum_form(&$node, &$help, &$error) {
function
forum_insert
(
$node
)
{
$node
->
icon
=
_forum_decode_icon
(
$node
);
db_query
(
"INSERT INTO forum (nid, icon, shadow, tid) VALUES ('%d', '%s', '%d', '%d')"
,
$node
->
nid
,
$node
->
icon
,
$node
->
shadow
,
$node
->
tid
);
db_query
(
"INSERT INTO forum (nid, icon, shadow, tid) VALUES ('%d', '%s', '%d', '%d')"
,
$node
->
nid
,
$node
->
icon
,
$node
->
shadow
,
$node
->
tid
[
0
]
);
}
function
forum_update
(
$node
)
{
...
...
modules/forum/forum.module
View file @
cf2802a7
...
...
@@ -249,7 +249,7 @@ function forum_form(&$node, &$help, &$error) {
function
forum_insert
(
$node
)
{
$node
->
icon
=
_forum_decode_icon
(
$node
);
db_query
(
"INSERT INTO forum (nid, icon, shadow, tid) VALUES ('%d', '%s', '%d', '%d')"
,
$node
->
nid
,
$node
->
icon
,
$node
->
shadow
,
$node
->
tid
);
db_query
(
"INSERT INTO forum (nid, icon, shadow, tid) VALUES ('%d', '%s', '%d', '%d')"
,
$node
->
nid
,
$node
->
icon
,
$node
->
shadow
,
$node
->
tid
[
0
]
);
}
function
forum_update
(
$node
)
{
...
...
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