Scenario:

Just disable a module in Drupal 6, such as doing drush dis update -v and you will get the following warnings:

Undefined index: hidden environment_6.inc:
Undefined variable: include_hidden environment_6.inc:161

This is because some modules/themes do not have the hidden property and because drush_get_themes() does not contain the $include_hidden variable in its signature.

A patch is going to be attached in the following comment.

Comments

juampynr’s picture

Status: Active » Needs review
StatusFileSize
new2.09 KB

Here it is.

jonhattan’s picture

Status: Needs review » Fixed

Committed with some little changes. Thanks.

Status: Fixed » Closed (fixed)

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