diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2001-08-30 08:34:28 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2001-08-30 08:34:28 +0000 |
commit | 8a1b410adf950754d0cd6e150a55dc139cbf5d48 (patch) | |
tree | 586b26adb63b885735f72cf9ec83329e3f7c8755 /modules/node/node.module | |
parent | a8bfbe76083553b668dfa2a6161f9a31c511bc7d (diff) | |
download | brdo-8a1b410adf950754d0cd6e150a55dc139cbf5d48.tar.gz brdo-8a1b410adf950754d0cd6e150a55dc139cbf5d48.tar.bz2 |
node.module
- fixed a listing bug.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r-- | modules/node/node.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 51f081b09..b15516e43 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -200,7 +200,7 @@ function node_query($type = -1) { $statuses = module_invoke($name, "status"); if (is_array($statuses)) { foreach (array_reverse($statuses) as $key=>$status) { - $queries[] = array("$name: status set to '$status'", "WHERE type = '$name' AND status = '". node_status($status) ."' ORDER BY timestamp DESC"); + $queries[] = array("$name: status set to '$status'", "WHERE type = '$name' AND n.status = '". node_status($status) ."' ORDER BY timestamp DESC"); } $queries[] = array("$name: scheduled to be posted", "WHERE type = '$name' AND timestamp_posted > 0 ORDER BY timestamp DESC"); $queries[] = array("$name: scheduled to be queued", "WHERE type = '$name' AND timestamp_queued > 0 ORDER BY timestamp DESC"); |