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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | aweber-374899.patch | 2.42 KB | Greg Go |
| aweberform.patch | 1.71 KB | Brandonian |
Comments
Comment #1
Greg Go commentedI 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.