/branches/ant/0.9.x/lib/core.php/core.php |
---|
269,7 → 269,8 |
$query .= "JOIN ".$this->prefix."sect2rep l ON s.sect_id=l.sect_id "; |
$query .= "JOIN ".$this->prefix."repository r ON r.rep_id=l.rep_id "; |
$query .= "JOIN ".$this->prefix."rtype t ON r.rtype_id=t.rtype_id "; |
$query .= "WHERE t.rtype_id='1' AND r.version='".$this->secure->checkInt($version)."'"; |
$query .= "WHERE t.rtype_id='1' AND r.version='".$this->secure->checkInt($version)."' "; |
$query .= "ORDER BY s.sect_id ASC"; |
$rq =& $this->db->query($query); |
switch ($format) { |
case 'html': |