This is a bug fix for the HEAD branch. When an administrator tries to edit a lead's status, the aweber_lead object doesn't load properly in Drupal 6, due to the updated FormAPI's new usage of $form_state with the function drupal_get_form (See http://drupal.org/node/144132#form-state and http://drupal.org/node/250645). This patch addresses the issue.

CommentFileSizeAuthor
#1 aweber-374899.patch2.42 KBGreg Go
aweberform.patch1.71 KBBrandonian

Comments

Greg Go’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
StatusFileSize
new2.42 KB

I was still getting errors for deleting leads (and leads wouldn't be removed) after patching.

Sample error:
Warning: htmlspecialchars() expects parameter 1 to be string, object given in check_plain() (line 1153 of /var/www/sandbox/includes/bootstrap.inc).

The attached patch is for aweber-6.x-1.x-dev (2011-Feb-24) and should fix the edit and delete functionality of the admin/user/aweber/list page. Also fixes a minor colspan issue.