In function superfish_requirements($phase),

the return of $requirements should be moved out of the if(module_exists('libraries')) conditional to the end of the function. So basically, move from line 40 to line 42.

Otherwise, drupal would give warning messages like the following during install:

Warning: array_merge() [function.array-merge ]: Argument #2 is not an array in drupal_check_profile() (line 1132 of /Applications/XAMPP/xamppfiles/htdocs/di_3/includes/install.inc).

CommentFileSizeAuthor
#1 hook_requirements_1158890_1.patch995 bytesgirishmuraly

Comments

girishmuraly’s picture

Status: Active » Needs review
StatusFileSize
new995 bytes

Attached patch.

girishmuraly’s picture

See also http://drupal.org/node/1158926. I will create a combined patch in that issue since it deals with the same function and people can't use that function till these two issues are resolved.

mehrpadin’s picture

Status: Needs review » Fixed

Hey Girish,

Fixed as of v1.9-beta3, thank you very much :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.