Changeset 261

Show
Ignore:
Timestamp:
02/19/06 21:05:32 (3 years ago)
Author:
ben
Message:

Fixed bug in 'RSS Not' weblog RSS feed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/units/weblogs/function_rss_getitems.php

    r247 r261  
    2626                        $tag = trim($parameter[2]); 
    2727                        if (isset($parameter[3]) && $parameter[3] == "not") { 
    28                                 $entries = db_query("select * from weblog_posts where weblog = $userid and weblog_posts.access = 'PUBLIC' and 0 = (select count(ident) from tags where tagtype = 'weblog' and tag = 'elgg' and tags.ref = weblog_posts.ident) order by weblog_posts.posted desc limit $numrows"); 
     28                                $entries = db_query("select * from weblog_posts where weblog = $userid and weblog_posts.access = 'PUBLIC' and 0 = (select count(ident) from tags where tagtype = 'weblog' and tag = '$tag' and tags.ref = weblog_posts.ident) order by weblog_posts.posted desc limit $numrows"); 
    2929                        } else if ($tag) { 
    3030                                $entries = db_query("select weblog_posts.* from tags join weblog_posts on weblog_posts.ident = tags.ref where weblog_posts.weblog = $userid and weblog_posts.access = 'PUBLIC' and tags.tag = '$tag' and tags.tagtype = 'weblog' order by weblog_posts.posted desc limit " . $numrows);