/branches/ant/0.9.x/lib/core.php |
---|
1172,7 → 1172,7 |
public function updateProto($protoID, $info) { |
$result = array(); |
$sProtoID = $this->secure->checkInt($protoID); |
$sProto = $this->secure->checkStr($proto,1); |
$sProto = $this->secure->checkStr($info,1); |
$query = "UPDATE ".$this->prefix."protos SET proto='".$sProto."' WHERE proto_id='".$sProtoID."'"; |
$rq =& $this->db->query($query); |