db, $s); if (mysqli_num_rows($q) > 0){ $r = mysqli_fetch_array($q); $this->project = $r["project"]; $this->code = $r["code"]; $this->name = $r["name"]; $this->changelog = text($this, $r["changelog"]); $this->dtime = $r["dtime"]; $this->visible = $r["visible"]; $this->type = new Project_Version_Type($this->db, $this->lang, $r["type"]); } } } ?>