cvs: pear /DB/DB ibase.php
| From: | Stig Bakken | Date: | Fri, 07 Feb 2003 20:09:51 +0000 |
| Subject: | cvs: pear /DB/DB ibase.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8744@lists.php.net to get a copy of this message | ||
ssb Fri Feb 7 15:09:51 2003 EDT
Modified files:
/pear/DB/DB ibase.php
Log:
* bugfix
Index: pear/DB/DB/ibase.php
diff -u pear/DB/DB/ibase.php:1.6 pear/DB/DB/ibase.php:1.7
--- pear/DB/DB/ibase.php:1.6 Sat Jan 4 06:54:49 2003
+++ pear/DB/DB/ibase.php Fri Feb 7 15:09:51 2003
@@ -16,7 +16,7 @@
// | Author: Sterling Hughes <sterling@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: ibase.php,v 1.6 2003/01/04 11:54:49 mj Exp $
+// $Id: ibase.php,v 1.7 2003/02/07 20:09:51 ssb Exp $
//
// Database independent query interface definition for PHP's Interbase
// extension.
@@ -523,7 +523,7 @@
}
// free the result only if we were called on a table
- if (is_resource($id)) {
+ if (is_string($result)) {
ibase_free_result($id);
}
return $res;