Skip to content

Commit

Permalink
fixed a bug in fetchInto due to changes to MDB's native version of fe…
Browse files Browse the repository at this point in the history
…tchInto

git-svn-id: http://svn.php.net/repository/pear/packages/MDB/trunk@91657 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Lukas Smith committed Aug 12, 2002
1 parent 7fb32a0 commit 29b4f75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MDB/peardb_wrapper.php
Expand Up @@ -152,6 +152,9 @@ function fetchInto(&$arr, $fetchmode = DB_FETCHMODE_DEFAULT, $rownum = NULL)
if(MDB::isError($arr)) {
return $arr;
}
if($arr === NULL) {
return $arr;
}
return (DB_OK);
}

Expand Down
3 changes: 3 additions & 0 deletions pear_wrapper.php
Expand Up @@ -152,6 +152,9 @@ function fetchInto(&$arr, $fetchmode = DB_FETCHMODE_DEFAULT, $rownum = NULL)
if(MDB::isError($arr)) {
return $arr;
}
if($arr === NULL) {
return $arr;
}
return (DB_OK);
}

Expand Down

0 comments on commit 29b4f75

Please sign in to comment.