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
463ccb4d
Commit
463ccb4d
authored
Oct 01, 2003
by
Kjartan
Browse files
- Fixed bug
#3398
: Error in SQL query in node.module (syndicate block)
parent
fa2581ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/node.module
View file @
463ccb4d
...
...
@@ -957,7 +957,7 @@ function node_feed($nodes = 0, $channel = array()) {
*/
if
(
!
$nodes
)
{
$nodes
=
db_query_range
(
"SELECT nid
,
FROM
{
node
}
WHERE promote = '1' AND status = '1' ORDER BY created DESC"
,
0
,
15
);
$nodes
=
db_query_range
(
"SELECT nid FROM
{
node
}
WHERE promote = '1' AND status = '1' ORDER BY created DESC"
,
0
,
15
);
}
while
(
$node
=
db_fetch_object
(
$nodes
))
{
...
...
modules/node/node.module
View file @
463ccb4d
...
...
@@ -957,7 +957,7 @@ function node_feed($nodes = 0, $channel = array()) {
*/
if
(
!
$nodes
)
{
$nodes
=
db_query_range
(
"SELECT nid
,
FROM
{
node
}
WHERE promote = '1' AND status = '1' ORDER BY created DESC"
,
0
,
15
);
$nodes
=
db_query_range
(
"SELECT nid FROM
{
node
}
WHERE promote = '1' AND status = '1' ORDER BY created DESC"
,
0
,
15
);
}
while
(
$node
=
db_fetch_object
(
$nodes
))
{
...
...
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