Fixer erreur dans Liste des adhérents + erreur dans Temps consommé
This commit is contained in:
parent
ba88c71fc7
commit
97aae20edc
@ -391,7 +391,7 @@ if ($search_status != '') {
|
||||
// Peut valoir un nombre ou liste de nombre separes par virgules
|
||||
$sql .= " AND d.statut in (".$db->sanitize($db->escape($search_status)).")";
|
||||
}
|
||||
if ($search_morphy != '') {
|
||||
if ($search_morphy != '' && $search_morphy != '-1') {
|
||||
$sql .= natural_search("d.morphy", $search_morphy);
|
||||
}
|
||||
if ($search_ref) {
|
||||
|
||||
@ -1668,7 +1668,7 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0 || $allprojectforuser
|
||||
print '<td class="nowraponall">';
|
||||
$durationtouse = (GETPOST('timespent_duration') ? GETPOST('timespent_duration') : '');
|
||||
if (GETPOSTISSET('timespent_durationhour') || GETPOSTISSET('timespent_durationmin')) {
|
||||
$durationtouse = (GETPOST('timespent_durationhour') * 3600 + GETPOST('timespent_durationmin') * 60);
|
||||
$durationtouse = ((int) GETPOST('timespent_durationhour') * 3600 + (int) GETPOST('timespent_durationmin') * 60);
|
||||
}
|
||||
print $form->select_duration('timespent_duration', $durationtouse, 0, 'text');
|
||||
print '</td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user