summaryrefslogtreecommitdiff
path: root/modules/headlineRSS10.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/headlineRSS10.module')
-rw-r--r--modules/headlineRSS10.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/headlineRSS10.module b/modules/headlineRSS10.module
index eacd7c7d5..5714ac9f2 100644
--- a/modules/headlineRSS10.module
+++ b/modules/headlineRSS10.module
@@ -32,7 +32,7 @@ function headlineRSS10_export($uri) {
print " <items>\n";
print " <rdf:Seq>\n";
- $result = db_query("SELECT * FROM nodes WHERE type = 'story' AND status = '$status[posted]' ORDER BY timestamp DESC LIMIT 10");
+ $result = db_query("SELECT * FROM node WHERE type = 'story' AND status = '$status[posted]' ORDER BY timestamp DESC LIMIT 10");
while ($node = db_fetch_object($result)) {
print " <rdf:li resource=\"". $site_url ."node.php?id=$node->nid\" />\n";