1651,7 → 1651,7 |
} |
if ($sRepID != 0) { |
// Режим редактирования |
$query = "SELECT r.rtype_id,r.repname,r.repinfo,r.repkey,p.proto,h.rhost,f.rfolder,v.*,d.distname,dt.type FROM ".$this->prefix."repository r "; |
$query = "SELECT r.rtype_id,r.repname,r.repinfo,r.repkey,p.proto_id,h.rhost,f.rfolder,v.*,d.distname,dt.type FROM ".$this->prefix."repository r "; |
//$query .= "JOIN ".$this->prefix."rtype rt ON r.rtype_id=rt.rtype_id "; |
$query .= "JOIN ".$this->prefix."protos p ON r.proto_id=p.proto_id "; |
$query .= "JOIN ".$this->prefix."rephost h ON r.rhost_id=h.rhost_id "; |