FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=19917&edit=1

ID: 19917
Updated by: alan@roojs.com
Reported By: shankao@gmail.com
Summary: Use of variable before error checking
-Status: Open
+Status: Closed
Type: Bug
Package: DB_DataObject
Operating System: Ubuntu
Package Version: 1.11.2
PHP Version: 5.4.9
-Assigned To:
+Assigned To: alan_k
Roadmap Versions:
New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: alan_k
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.




Previous Comments:
------------------------------------------------------------------------

[2013-04-29 11:43:46] shankao

Description:
------------
In the generator, I get an error in the line 1352:

"PHP Fatal error: Cannot use object of type MDB2_Error as
array in Generator.php on line 1352"

There is a PEAR::isError check some lines after that, but it's
too late, the object is tried as there is not error, when using
MDB2.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedApr 30, '13 at 2:32a
activeApr 30, '13 at 2:32a
posts1
users1
websitepear.php.net

1 user in discussion

Alan: 1 post

People

Translate

site design / logo © 2022 Grokbase