Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I have an error on page with URL like this:
www.example.com/filter?place[0]=Incalls%20Only&place[1]=Incalls%20and%20...
$_GET array contains an array parameters.
foreach ($_GET as $key => $value) {
if (($key == 'q') || ($key == 'blocks') || ($key == 'path')) {
continue;
}
$get_params .= '&' . urlencode($key) . '=' . urlencode($value);
}
warning: urlencode() expects parameter 1 to be string, array given in /home/jeroen/domains/syvo.eu/public_html/pink/sites/all/modules/ajaxblocks/ajaxblocks.module on line 406.
This patch fixing this problem.
Comment | File | Size | Author |
---|---|---|---|
ajaxify_regions-get_values_encode.patch | 843 bytes | pacufist |
Comments
Comment #1
maximpodorov CreditAttribution: maximpodorov commentedThank you for the fix. I'll commit it.
Comment #2
maximpodorov CreditAttribution: maximpodorov commentedCommited in dev. Expect it in 6.x-1.6.
Comment #3
pacufist CreditAttribution: pacufist commentedOk, thanks you for this module !