In Drupal 7, drupal_alter takes a maximum of 2 contextual arguments. In this case, we have passed three (account, ticket, service). Oops.

Instead, I suggest we pass $account and $context = array('ticket' => $ticket, 'service' => $service). We also should quickly backport this fix to 6.x-3.x, since there hasn't been any releases with the current API yet.

Comments

bfroehle’s picture

Status: Active » Fixed

Fixed in 6.x-3.x and 7.x-1.x.

Status: Fixed » Closed (fixed)

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

  • Commit 07e15d8 on 7.x-1.x, 8.x-1.x by bfroehle:
    Issue #1420804 by bfroehle: Fixed drupal_alter('...