Changeset 297 for getrss.php

Show
Ignore:
Timestamp:
01/27/10 09:49:46 (2 years ago)
Author:
Nafania
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • getrss.php

    r255 r297  
    2626     } 
    2727 
    28         if ( $sizeof_cat = sizeof($cat) ) { 
    29                 if ( $sizeof_cat != sizeof($cats) ) { 
    30                         $query[] = 'cat=' . implode(',', $cat); 
    31              } 
     28        if ( sizeof($cat) != sizeof($cats) && sizeof($cat) ) { 
     29                $query[] = 'cat=' . implode(',', $cat); 
    3230        } 
    33         else { 
    34                 trigger_error($lang['you_must_select_category']); 
    35      } 
     31 
    3632        if ( $login_type == 'passkey' ) { 
    3733                $query[] = 'passkey=' . $userdata['torrent_pass'];