Ticket #984 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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

Changed 6 years ago by jedi58

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

Changed 6 years ago by ray

  • status changed from new to closed
  • resolution set to fixed

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.