Хранилища Subversion ant

Сравнить редакции

Не учитывать пробелы Редакция 604 → Редакция 605

/branches/ant/0.9.x/lib/core.php
299,9 → 299,9
* @return string
*/
public function showRepList($version, $reptype, $format = 'html') {
$query = "SELECT rtype FROM ".$this->prefix."rtype WHERE rtype_id='".$this->secure->checkInt($reptype)."'";
$rq =& $this->db->query($query);
$rq->fetchInto($types);
// $query = "SELECT rtype FROM ".$this->prefix."rtype WHERE rtype_id='".$this->secure->checkInt($reptype)."'";
// $rq =& $this->db->query($query);
// $rq->fetchInto($types);
$query = "SELECT * FROM ".$this->prefix."repository WHERE version='".$this->secure->checkInt($version)."' AND rtype_id='".$this->secure->checkInt($reptype)."'";
$rq =& $this->db->query($query);
switch ($format) {