Forum Moderators: coopster
However If I change my soap parameters
[codes]
$options = array(
'key' => "key",
'q' => "$_GET[search_word]",
'start' => 0,
'maxResults' => 10,
'filter' => true,
'restrict' => '',
'safeSearch' => false,
'lr' => $Res_Country,
'ie' => '',
'oe' => ''
);
[/codes]
If makes not difference and google still returns unfiltered results. I read on [forums.#*$!.com...] (read the last post) that nusoap changes "true" to "1", butt google doesn't recognise this. Any idea how i can change this?
Hmm I fixed the problem:
nusoap.php, line 0223:
replace
php Code:
1.
case (is_bool($val) ¦¦ $type == 'boolean'):
2.
if(!$val){
3.
$val = 0;
4.
}
by
php Code:
1.
case (is_bool($val) ¦¦ $type == 'boolean'):
2.
if(!$val){
3.
$val = 'false';
4.
}
5.
else $val = 'true';