Changeset 261
- Timestamp:
- 02/19/06 21:05:32 (3 years ago)
- Files:
-
- devel/units/weblogs/function_rss_getitems.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/units/weblogs/function_rss_getitems.php
r247 r261 26 26 $tag = trim($parameter[2]); 27 27 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"); 29 29 } else if ($tag) { 30 30 $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);
