Changeset 1509 for trunk/gregarius/feed.php
- Timestamp:
- 06/24/06 19:46:39 (2 years ago)
- Files:
-
- 1 modified
-
trunk/gregarius/feed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/feed.php
r1474 r1509 62 62 $sqlid = sanitize($_REQUEST['channel'], RSS_SANITIZER_SIMPLE_SQL | RSS_SANITIZER_NO_SPACES); 63 63 $sql = "select id from " . getTable("channels") ." where title like '$sqlid'"; 64 65 64 if (hidePrivate()) { 66 65 $sql .=" and not(mode & " . RSS_MODE_PRIVATE_STATE .") "; … … 71 70 $res = rss_query( $sql ); 72 71 //echo $sql; 73 if ( rss_num_rows ( $res ) == 1) {72 if ( rss_num_rows ( $res ) >= 1) { 74 73 list($cid) = rss_fetch_row($res); 75 74 } else {
