Closed (fixed)
Project:
Linkit
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2010 at 19:44 UTC
Updated:
10 Sep 2010 at 22:40 UTC
I was receiving this error on all my sites on after upgrading the multisite platform to pressflow-6.19.92 . I fixed it by wrapping hook_form_alter with
if(isset($form['#after_build'])){ ... }
so the resulting function is
function linkit_form_alter(&$form, &$form_state, $form_id) {
if(isset($form['#after_build'])){
if(count($form['#after_build'])) {
foreach($form['#after_build'] AS $after_build) {
if($after_build == "ckeditor_process_form") {
_linkit_add_settings('ckeditor');
}
}
}
}
}
Comments
Comment #1
anonThanks, I have commited your solution.
Comment #2
anon