Subversion Repositories PHPX

Compare Revisions

Last modification

Ignore whitespace Rev 35 → Rev 34

/trunk/Db/Table.php
226,7 → 226,6
* Finds a record by ID
*
* @param mixed $id
* @return array
*/
public function find($id)
{
236,13 → 235,6
debug($id);
}
$result = $this->select(null, array($this->_id => $id));
if ($result)
{
$result = $result[0];
}
return $result;
return $this->select(null, array($this->_id => $id));
}
}