Closed (fixed)
Project:
Contextual Administration
Version:
6.x-1.0-beta9
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2011 at 21:14 UTC
Updated:
22 Mar 2011 at 22:59 UTC
Using module invoke with hooks that pass a parameter by reference no longer works in PHP 5.3. The result is an error, and the hook in question not being called:
warning: Parameter 1 to context_admin_noderef_create_node_nodeapi() expected to be a reference, value given in /home/jonathan/work/clients/agilivant/app/drupal/includes/module.inc on line 462.
The attached patch fixes this (see node_invoke_nodeapi for a similar fix).
| Comment | File | Size | Author |
|---|---|---|---|
| context_admin.php53_nodeapi.patch | 834 bytes | jhedstrom |
Comments
Comment #1
eclipsegc commented#1091588 will fix this, and is the proper fix. Will need to be ported once it lands on 7.x. The git repository in that issue is pretty close to being ready to land for 7.x.