Skip to content
Browse files

- nuke warning in listTableFields() (bug #3424)

git-svn-id: http://svn.php.net/repository/pear/packages/MDB/trunk@179539 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent 02ee2a8 commit 5ff42fe7e6bb7e6bf8267705208e943f8f5a7ded Lukas Smith committed Feb 11, 2005
Showing with 2 additions and 2 deletions.
  1. +2 −2 MDB/Modules/Manager/oci8.php
View
4 MDB/Modules/Manager/oci8.php
@@ -378,8 +378,8 @@ function listTableFields(&$db, $table)
$table = strtoupper($table);
$query = "SELECT column_name FROM user_tab_columns WHERE table_name='$table' ORDER BY column_id";
$columns = $db->queryCol($query);
- if (MDB::isError($result)) {
- return($result);
+ if (MDB::isError($columns)) {
+ return($columns);
}
if ($db->options['optimize'] != 'portability') {
$columns = array_flip($columns);

0 comments on commit 5ff42fe

Please sign in to comment.
Something went wrong with that request. Please try again.