#009332: undefined variable in ezSys class ('indexFile' function)

Description:

bad use of an undefined private variable ($this->AccessPath) in 'indexFile' function (lib/ezutils/classes/ezsys.php) :

if ( count( $this->AccessPath ) > 0 and $this->AccessPath[0] == $defaultAccess )

should be

if ( count( $instance->AccessPath ) > 0 and $instance->AccessPath[0] == $defaultAccess )


Environment:

Operating System:
PHP Version: 4.4.2
Database and version: MySQL 4.1.15


- Attachments
ezsys.php.patch (763 b)
[Download] [Permanent Link]

- Comments

Was fixed together with #11050

#255640 by Kristof Coomans on January 30th, 2008 [Permanent Link]

- History
Properties
Type Bug
Priority Medium
Component Misc
Affects 3.8.3
Fix Version -
Reporter Damien Pitard
Responsible -
Status 0 Closed
Resolution Works Here
Created November 3rd, 2006
Updated January 30th, 2008
Resolved January 30th, 2008
 
Navigation [Permanent Link]
Previous Issue
Back to Issues List
Next Issue: #019127
  DB Deadlocks on ezcontentobject_tree when updating subnode