Show
Ignore:
Timestamp:
08/24/06 01:14:02 (4 years ago)
Author:
cfriesen
Message:

Feel free to scream if this breaks something...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/index.php

    r1424 r1544  
    171171    $sql = "select " 
    172172          ." c.id" 
    173           ." from "  
    174             .getTable("channels") . " c, "  
    175             .getTable("folders") ." f " 
    176           ." where c.parent = f.id "; 
     173          ." from " . getTable("channels") . " c "  
     174          ." inner join " . getTable("folders") ." f on f.id = c.parent "; 
    177175           
    178176         // $sql .= $sqlWhereHidden; 
    179177     
    180         $sql .= " and not(c.mode & " . RSS_MODE_DELETED_STATE  .") "; 
     178        $sql .= " where not(c.mode & " . RSS_MODE_DELETED_STATE  .") "; 
    181179         
    182180        if (getConfig('rss.config.absoluteordering')) {