Ticket #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
Note: See
TracTickets for help on using
tickets.
