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/util.php

    r1538 r1544  
    883883    } 
    884884 
    885     $sql = "select count(*) from " 
    886            .getTable("item")    ."i, ".getTable('channels')."c " 
     885    $sql = "select count(*) from " . getTable("item") ."i " 
     886           ."inner join " . getTable('channels')." c on c.id = i.cid " 
    887887           ." where i.unread & ".RSS_MODE_UNREAD_STATE. " and not(i.unread & " . 
    888            RSS_MODE_DELETED_STATE .") and i.cid=c.id " 
     888           RSS_MODE_DELETED_STATE .") " 
    889889           ." and not(c.mode & ".RSS_MODE_DELETED_STATE.") "; 
    890890