Correcting syntax error in DboAdodb, fixes #4965

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7226 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2008-06-21 13:03:25 +00:00
parent 7b6ee7386b
commit ebe635a827

View file

@ -515,7 +515,7 @@ class DboAdodb extends DboSource {
* @return boolean True if the result is valid, else false * @return boolean True if the result is valid, else false
*/ */
function hasResult() { function hasResult() {
return is_object($this->_result) && !$this->_result->EOF return is_object($this->_result) && !$this->_result->EOF;
} }
} }
?> ?>