Opened 14 years ago

Closed 14 years ago

#451 closed defect (fixed)

PHP Notice: Undefined variable: data in images.php on line 128

Reported by: anonymous Owned by: yermol
Priority: normal Milestone: Version 1.0
Component: Plugin_ImageManager Version: trunk
Severity: trivial Keywords: data php notice images.php
Cc:

Description

The is a slight error of assigning to undefined $data variable in plugins/ImageManager/images.php on line 128. On some PHP setups this resluts in outputting the error message in thumbnails area of insert image dialog.

To fix it, simply insert:

$data = ;

before the for loop in asc2hex() function in file mentioned.

(sorry for not issuing the patch file for that but this would be hard in my current windows setup. I hope that this issue is trivial).

Change History (2)

comment:1 Changed 14 years ago by anonymous

The code should be (wiki ate it):

 $data = '';

comment:2 Changed 14 years ago by niko

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.