Changeset 5775 for trunk/components/Textcube.Data.GuestComment.php
- Timestamp:
- 04/19/08 00:50:05 (9 months ago)
- Files:
-
- 1 modified
-
trunk/components/Textcube.Data.GuestComment.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/components/Textcube.Data.GuestComment.php
r5285 r5775 39 39 $filter $sort"); 40 40 if ($this->_result) { 41 if ($this->_count = mysql_num_rows($this->_result))41 if ($this->_count = POD::num_rows($this->_result)) 42 42 return $this->shift(); 43 43 else 44 mysql_free_result($this->_result);44 POD::free($this->_result); 45 45 } 46 46 unset($this->_result); … … 50 50 function close() { 51 51 if (isset($this->_result)) { 52 mysql_free_result($this->_result);52 POD::free($this->_result); 53 53 unset($this->_result); 54 54 } … … 59 59 function shift() { 60 60 $this->reset(); 61 if ($this->_result && ($row = mysql_fetch_assoc($this->_result))) {61 if ($this->_result && ($row = POD::fetch($this->_result))) { 62 62 foreach ($row as $name => $value) { 63 63 if ($name == 'blogid')
