Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2011 at 19:54 UTC
Updated:
31 Mar 2012 at 19:30 UTC
I was writing a content type plugin based on the ctools plugin example code, the edit form for my plugin was not displaying anything and later realized that the code produces a warning on:
Warning: Parameter 1 to infomex_solicitudes_content_type_edit_form() expected to be a reference, value given in drupal_retrieve_form() (line 773 of /var/www/Transparencia/includes/form.inc).
So the problem was that the form parameter is not passed by reference. Here is a small patch.
| Comment | File | Size | Author |
|---|---|---|---|
| ctools_plugin_example.patch | 2.9 KB | jackbravo |
Comments
Comment #1
jackbravo commentedit is just a fix to the ctools plugin example.
Comment #2
merlinofchaos commentedThanks for the patch!