Changeset 174 for dev/common/class.item.php
- Timestamp:
- 01/09/07 21:22:39 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/class.item.php
r154 r174 70 70 } 71 71 $this->sql_ = "select * 72 from kb3_items , kb3_item_types73 where itm_id = '".$this->id_."'74 and itm_type = itt_id";72 from kb3_items 73 left join kb3_item_types on itm_type = itt_id 74 where itm_id = '".$this->id_."'"; 75 75 $this->qry_->execute($this->sql_); 76 76 $this->row_ = $this->qry_->getRow();