Opened 15 years ago
Closed 15 years ago
#13853 closed defect (bug) (fixed)
PHP Notice from undefined offset in revisions compare
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Revisions | Keywords: | has-patch |
Focuses: | Cc: |
Description
Patch checks to make sure it's defined, otherwise setting it to blank.
Attachments (2)
Change History (6)
#1
@
15 years ago
- Keywords reporter-feedback added
- Owner set to westi
- Status changed from new to accepted
#2
@
15 years ago
- Keywords reporter-feedback removed
See revisions.png
. I'm not sure exactly how to reproduce, but it may be comparing a blank line with 2 or more.
Nevertheless, the logic error in the code is plain: it assumes an array index is defined without warrant.
Note: See
TracTickets for help on using
tickets.
How does one trigger the notice?