--- inc/common.inc 2001/02/23 16:36:58 1.7 +++ inc/common.inc 2001/02/28 14:16:38 1.8 @@ -14,7 +14,7 @@ // fetch news -$sth = $dbh->prepare("select id,title from news where (type='n' or type='c' or type='r') and visible order by date desc limit 5"); +$sth = $dbh->prepare("select id,title from news where type<>'e' and visible order by date desc limit 5"); $sth->execute(); while ($row=$sth->fetchrow_hash()) { $news[]=$row;