Closed (fixed)
Project:
XML sitemap
Version:
6.x-2.x-dev
Component:
Other
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2009 at 03:35 UTC
Updated:
17 Nov 2009 at 17:38 UTC
Jump to comment: Most recent file
Comments
Comment #1
damienmckennaQuick patch.
Comment #2
dave reidThat's odd. I thought this worked like hook_menu() where we start using $items without doing $items = array().
Comment #3
damienmckennaI thought it was standard PHP syntax that would throw an E_NOTICE if the variable didn't exist first?
Comment #4
dave reidIt's never done that for me, and I'm using error reporting with notices always during development. :/ Can you confirm it causes a notice?
Comment #5
damienmckennaSorry, my mistake, I thought I remembered PHP needed arrays to be defined first.
Comment #6
dave reidNo worries. You would think it would, but it doesn't care. A minor PHPWTF.