Posted by coderintherye on March 14, 2010 at 7:02am
1 follower
| Project: | ArrayShift |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
So, in line 31 of as_tweaks.module file, you have
function as_tweaks_form_alter(&$form, &$form_state, &$form_id) {
as per http://api.drupal.org/api/function/hook_form_alter/6 the 3rd parameter doesn't need a &
I removed the & from &$form_id to make line 31:
function as_tweaks_form_alter(&$form, &$form_state, &$form_id) {
and now I no longer get the warnings.