Closed Bug 440129 Opened 17 years ago Closed 17 years ago

PHP notices on homepage

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fligtar, Unassigned)

Details

Attachments

(1 file)

If an add-on in the right sidebar doesn't have a category associated with it, it will display a notice instead. Notice: Undefined offset: 0 in /private/var/www/addons/trunk/site/app/views/addons/home.thtml on line 160 (above notice for the Newest section - might be different line number for other sections)
(Notices don't show up in production, of course. This is just on my dev copy.)
Some of these addons don't have tags, so check before echoing.
Attachment #326590 - Flags: review?(fligtar)
Comment on attachment 326590 [details] [diff] [review] Check these things are set before trying to echo them. Chris volunteered for this one.
Attachment #326590 - Flags: review?(fligtar) → review?(cpollett)
Comment on attachment 326590 [details] [diff] [review] Check these things are set before trying to echo them. Patch WFM.
Attachment #326590 - Flags: review?(cpollett) → review+
Fixed in r16314.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: