Closed (fixed)
Project:
Module Builder
Version:
7.x-2.x-dev
Component:
Drush support
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2013 at 20:43 UTC
Updated:
20 Oct 2013 at 19:23 UTC
Jump to comment: Most recent file
Comments
Comment #1
Jaesin commentedA quick fix for this issue.
Comment #2
joachim commentedWell spotted. Looks like the problem occurs when you specify a preset group that doesn't exist.
I'd rather we checked with isset rather than is_array(), as it makes more sense: we're checking the hook group exists. A comment to that effect would be good here too.
We don't need a second if(), we can just go inside the first one.
It looks like your patch is adding tabbed indentation rather than spaces too.
Comment #3
joachim commentedCommitted the fix with my modifications.
Thanks for reporting this!
Comment #4
Jaesin commentedNo problem.