Opened 8 years ago

Closed 8 years ago

#984 closed defect (fixed)

ExtendedFileManager produces php warning

Reported by: charles@… Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description

With a stock installation, ExtentendedFileManager? outputs warnings for undefined variables on both lines 37 ($pasteStatus) and 141 ($thisFileNameLength) of images.php.

Placing simple "@" in front of them removes the warning.

P.S. ExtendedFileManager isn't listed in the Components dialog in Trac so I put this un Core instead

(This test was done using Php 5, haven't tested in other versions)

Change History (2)

comment:1 Changed 8 years ago by jedi58

Probably would be better to define them before they are used rather than using the @ to supress the warnings.

comment:2 Changed 8 years ago by ray

  • Resolution set to fixed
  • Status changed from new to closed

Didn't get any errors with PHP 5.1.6 and all error reporting on...however fixed in rev [787]

Note: See TracTickets for help on using tickets.