--- class.types.inc.php.orig 2006-02-27 16:27:41.998947000 +0100 +++ class.types.inc.php 2006-02-27 16:27:41.998947000 +0100 @@ -150,7 +150,7 @@ $ordermethod = " ORDER BY $order $sort"; - $sql = "SELECT * from phpgw_correspondence_types WHERE 1"; + $sql = "SELECT * from phpgw_correspondence_types"; $this->db->query($sql,__LINE__,__FILE__); $total = $this->db->num_rows();