diff --git a/htdocs/compta/sociales/list.php b/htdocs/compta/sociales/list.php index 4b8500f5206..7f5d6b5ba3f 100644 --- a/htdocs/compta/sociales/list.php +++ b/htdocs/compta/sociales/list.php @@ -173,7 +173,7 @@ if ($resql) if ($limit > 0 && $limit != $conf->liste_limit) $param .= '&limit='.urlencode($limit); if ($search_ref) $param .= '&search_ref='.urlencode($search_ref); if ($search_label) $param .= '&search_label='.urlencode($search_label); - if ($search_project_ref >= 0) $param.="&search_project_ref=".urlencode($search_project_ref); + if ($search_project_ref >= 0) $param.="&search_project_ref=".urlencode($search_project_ref); if ($search_amount) $param .= '&search_amount='.urlencode($search_amount); if ($search_typeid) $param .= '&search_typeid='.urlencode($search_typeid); if ($search_status != '' && $search_status != '-1') $param .= '&search_status='.urlencode($search_status); @@ -282,7 +282,7 @@ if ($resql) $projectstatic->title=$obj->project_label; } - print ''; + print ''; // Ref print "".$chargesociale_static->getNomUrl(1, '20')."\n"; @@ -304,9 +304,9 @@ if ($resql) print $projectstatic->getNomUrl(1); } print ''; - if (!$i) $totalarray['nbfield']++; + if (!$i) $totalarray['nbfield']++; } - + // Date print ''.dol_print_date($db->jdate($obj->date_ech), 'day').''; if (!$i) $totalarray['nbfield']++; diff --git a/htdocs/contact/class/contact.class.php b/htdocs/contact/class/contact.class.php index 013830ca864..28e9b0d0ae3 100644 --- a/htdocs/contact/class/contact.class.php +++ b/htdocs/contact/class/contact.class.php @@ -865,7 +865,7 @@ class Contact extends CommonObject { $this->error = 'Fetch found several records. Rename one of contact to avoid duplicate.'; dol_syslog($this->error, LOG_ERR); - + return 2; } elseif ($num) // $num = 1 @@ -952,7 +952,7 @@ class Contact extends CommonObject // Retreive all extrafield // fetch optionals attributes and labels $this->fetch_optionals(); - + // Load also alerts of this user if ($user) {