During installation the private_number_requirements() function returns a null value which doesn't satisfy the array requirement for the array_merge() function in install.inc on line 692.

CommentFileSizeAuthor
#1 private_number-install.patch343 bytesvarr

Comments

varr’s picture

Status: Active » Needs review
StatusFileSize
new343 bytes

It 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.