Home » Structures » Tree » Bug #1976
Missing $this-> with __construct()
Details
| Submitted | 2004-07-25 04:58 UTC |
|---|---|
| From | rquast at rolandquast dot com |
| Assigned | dufuz |
| Status | Closed |
| Package | Tree |
| PHP Version | 5.0.0 |
| OS | Linux 2.4.26-gentoo-r5 |
| Roadmaps | (Not assigned) |
Comments
[2004-07-25 04:58 UTC] rquast at rolandquast dot com
Description:
------------
new __construct constructor in php5 not referencing old constructor correctly.. missing $this->
Reproduce code:
---------------
Simple problem I found when installing Tree with php5, the new __construct method cant find the old constructor because its not referencing $this
/usr/lib/php/Tree/Dynamic/DBNested.php
Line 76: currently... Tree_Dynamic_DBnested( $dsn , $options );
Requires: $this->Tree_Dynamic_DBnested( $dsn , $options );