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.

CommentFileSizeAuthor
ajaxify_regions-get_values_encode.patch843 bytespacufist
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

maximpodorov’s picture

Thank you for the fix. I'll commit it.

maximpodorov’s picture

Status: Active » Fixed

Commited in dev. Expect it in 6.x-1.6.

pacufist’s picture

Ok, thanks you for this module !

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.