cvs: pear /MDB/MDB metabase_wrapper.php
| From: | Lukas Smith | Date: | Mon, 23 Dec 2002 11:01:40 +0000 |
| Subject: | cvs: pear /MDB/MDB metabase_wrapper.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7950@lists.php.net to get a copy of this message | ||
lsmith Mon Dec 23 06:01:40 2002 EDT
Modified files:
/pear/MDB/MDB metabase_wrapper.php
Log:
fixed a bug in MetabaseDebugOutput (instead of the requested data TRUE was not returned on
success)
Index: pear/MDB/MDB/metabase_wrapper.php
diff -u pear/MDB/MDB/metabase_wrapper.php:1.47 pear/MDB/MDB/metabase_wrapper.php:1.48
--- pear/MDB/MDB/metabase_wrapper.php:1.47 Fri Dec 20 13:10:06 2002
+++ pear/MDB/MDB/metabase_wrapper.php Mon Dec 23 06:01:40 2002
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
//
-// $Id: metabase_wrapper.php,v 1.47 2002/12/20 18:10:06 lsmith Exp $
+// $Id: metabase_wrapper.php,v 1.48 2002/12/23 11:01:40 lsmith Exp $
//
MDB::loadFile('Date');
@@ -1262,7 +1262,7 @@
$_MDB_databases[$database]->setError('DebugOutput', $result->getMessage());
return(0);
} else {
- return(1);
+ return($result);
}
}