Closed (duplicate)
Project:
Linkit
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2011 at 08:40 UTC
Updated:
23 Oct 2011 at 17:33 UTC
I got this error in my linkit module, i tracked it down to where it renders the form:
change:
print theme('linkit_dashboard', array('form' => render(drupal_get_form('_linkit_form'))));
to
$_form = drupal_get_form('_linkit_form');
print theme('linkit_dashboard', array('form' => render($_form)));
That fixed the error for me
Comments
Comment #1
anonThanks for the code, I will test this later today.
Marked #1083992: warning in linkit_dashboard_page() as duplicated.
Comment #2
anonThanks for reporting and providing code to this issue.
This is now commited to 7.x.1.x
Comment #4
skilip commentedThis bug still exists.
Comment #5
anonThere is a new issue about this, with a patch so I will mark this as dublicate for #1291694: Pass by reference