|
@@ -742,7 +742,7 @@ if (!empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) {
|
|
|
$param .= '&contextpage='.urlencode($contextpage);
|
|
|
}
|
|
|
if ($limit > 0 && $limit != $conf->liste_limit) {
|
|
|
- $param .= '&limit='.urlencode($limit);
|
|
|
+ $param .= '&limit='.((int) $limit);
|
|
|
}
|
|
|
if ($search_all != '') {
|
|
|
$param .= '&search_all='.urlencode($search_all);
|
|
@@ -989,7 +989,7 @@ $moreforfilter .= '</div>';
|
|
|
|
|
|
$moreforfilter .= '<div class="divsearchfield">';
|
|
|
$tmptitle = $langs->trans('ProjectsWithThisContact');
|
|
|
-$moreforfilter .= img_picto($tmptitle, 'user', 'class="pictofixedwidth"').$form->selectcontacts(0, $search_project_contact ? $search_project_contact : '', 'search_project_contact', $tmptitle, '', '', 0, 'maxwidth250 widthcentpercentminusx');
|
|
|
+$moreforfilter .= img_picto($tmptitle, 'contact', 'class="pictofixedwidth"').$form->selectcontacts(0, $search_project_contact ? $search_project_contact : '', 'search_project_contact', $tmptitle, '', '', 0, 'maxwidth250 widthcentpercentminusx');
|
|
|
$moreforfilter .= '</div>';
|
|
|
|
|
|
// If the user can view thirdparties other than his'
|