Detailed Description:
I am very unsure if this is a bug as nobody else have reported this in the
forum.
In the search result I am getting this error:
Warning: rawurlencode() expects parameter 1 to be string, array given in
/var/www/sandbox/lib/classes/module_support/modform.inc.php on line 459
In action.do_search.php building Details URL
Lines 253-262
After unset ud_propvalue (array) in $params the error is gone. (causing the
error as this is an array in the array) and cause pretti-url not working.
// Detail URL
unset($params['ud_propvalue']);
$params['uid'] = $data[$i]['id'];
$prettyurl = 'users/'.$params['uid'].'/'.$detailpage;
if( isset($params['detailtemplate']) )
{
$prettyurl .=
'/'.munge_string_to_url(trim($params['detailtemplate']));
}
$prettyurl .= '/'.munge_string_to_url($data[$i]['username']);
$data[$i]['detail_url'] = $this->CreateURL($id,'detail',$detailpage,
$params,false,$prettyurl);
JanB