--- recent_blocks.php 2006-07-26 13:05:49.000000000 -0700 +++ fixed 2006-07-26 13:05:43.000000000 -0700 @@ -252,7 +252,9 @@ else { $sql = "SELECT n.nid, n.title, n.uid, n.changed, l.last_comment_timestamp, GREATEST(n.changed, l.last_comment_timestamp) AS last_change, l.comment_count". - " FROM {node} n, {node_comment_statistics} l". + //" FROM {node} n, {node_comment_statistics} l". + " FROM {node} n ". + " INNER JOIN {node_comment_statistics} l ON n.nid = l.nid ". " WHERE n.nid = l.nid AND $common_where AND $wow_comments". " ORDER BY $s[mode_full_sort] DESC"; $result = db_query_range(db_rewrite_sql($sql), 0, (int) $s['items_no']);