Needs review
Project:
Private Number
Version:
6.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
21 Nov 2010 at 07:34 UTC
Updated:
21 Nov 2010 at 07:43 UTC
Jump to comment: Most recent file
Comments
Comment #1
varr commentedIt turns out that the function return for the $requirements array was placed inside the if statement for the $phase.
By pulling it outside the if statement, the function can now return an empty array if the $phase is not 'runtime'.
I've attached a patch.