/branches/ant/0.9.x/get.php |
---|
17,8 → 17,6 |
$distID = $secure->checkInt($_POST["d"]); |
$versID = $secure->checkInt($_POST["v"]); |
phpinfo(); |
$request = array(); |
$request["dist_id"] = $distID; |
$request["version_id"] = $versID; |
/branches/ant/0.9.x/lib/core.php |
---|
604,7 → 604,7 |
$query = "SELECT * FROM ".$this->prefix."distribution d "; |
$query .= "JOIN ".$this->prefix."version v ON v.version_id=d.version "; |
$query .= "JOIN ".$this->prefix."dtype t ON d.disttype=t.type_id "; |
$query .= "WHERE d.dist_id='".$data["dist_id"]."' AND d.version='".$data["version_id"]."'"; |
$query .= "WHERE d.dist_id='".$data["dist_id"]."' AND v.version_id='".$data["version_id"]."'"; |
$rq =& $this->db->query($query); |
$rq->fetchInto($dist); |