Closed (fixed)
Project:
CAS
Version:
7.x-1.x-dev
Component:
CAS
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2012 at 03:07 UTC
Updated:
7 Jun 2014 at 20:59 UTC
Jump to comment: Most recent
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
Comment #1
bfroehle commentedFixed in 6.x-3.x and 7.x-1.x.