summaryrefslogtreecommitdiff
path: root/modules/blogapi/blogapi.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-12-03 16:32:22 +0000
committerDries Buytaert <dries@buytaert.net>2008-12-03 16:32:22 +0000
commitcadd9bd54ca9b3e5a95661c616d35a1a0045ab46 (patch)
tree6594d689ccf40b86fc16cf7f628ef06fa7ee50c7 /modules/blogapi/blogapi.module
parent5c72eb294ab1527b8da1b261cfbffeeb7ff98c9f (diff)
downloadbrdo-cadd9bd54ca9b3e5a95661c616d35a1a0045ab46.tar.gz
brdo-cadd9bd54ca9b3e5a95661c616d35a1a0045ab46.tar.bz2
- Patch #335086 by recidive: rename node, filter and comment module tables to singular for consistency. Oh my.
Diffstat (limited to 'modules/blogapi/blogapi.module')
-rw-r--r--modules/blogapi/blogapi.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module
index db7f01ddc..6ada341c3 100644
--- a/modules/blogapi/blogapi.module
+++ b/modules/blogapi/blogapi.module
@@ -379,7 +379,7 @@ function blogapi_blogger_get_recent_posts($appkey, $blogid, $username, $password
}
if ($bodies) {
- $result = db_query_range("SELECT n.nid, n.title, r.body, r.format, n.comment, n.created, u.name FROM {node} n, {node_revisions} r, {users} u WHERE n.uid = u.uid AND n.vid = r.vid AND n.type = :type AND n.uid = :uid ORDER BY n.created DESC", array(
+ $result = db_query_range("SELECT n.nid, n.title, r.body, r.format, n.comment, n.created, u.name FROM {node} n, {node_revision} r, {users} u WHERE n.uid = u.uid AND n.vid = r.vid AND n.type = :type AND n.uid = :uid ORDER BY n.created DESC", array(
':type' => $blogid,
':uid' => $user->uid
), 0, $number_of_posts);