Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
c4ea0c7d35
@ -583,7 +583,7 @@ if (empty($reshook)) {
|
||||
} else {
|
||||
$mesg = $object->error;
|
||||
}
|
||||
} elseif ($action == 'updateline' && $user->hasRight('ficheinter', 'creer') && GETPOST('save', 'alpha') == $langs->trans("Save")) {
|
||||
} elseif ($action == 'updateline' && $user->hasRight('ficheinter', 'creer') && GETPOST('save', 'alpha')) {
|
||||
// Mise a jour d'une ligne d'intervention
|
||||
$objectline = new FichinterLigne($db);
|
||||
if ($objectline->fetch($lineid) <= 0) {
|
||||
@ -601,7 +601,7 @@ if (empty($reshook)) {
|
||||
$date_inter = dol_mktime(GETPOST('dihour', 'int'), GETPOST('dimin', 'int'), 0, GETPOST('dimonth', 'int'), GETPOST('diday', 'int'), GETPOST('diyear', 'int'));
|
||||
$duration = convertTime2Seconds(GETPOST('durationhour', 'int'), GETPOST('durationmin', 'int'));
|
||||
|
||||
$objectline->datei = $date_inter;
|
||||
$objectline->date = $date_inter;
|
||||
$objectline->desc = $desc;
|
||||
$objectline->duration = $duration;
|
||||
|
||||
|
||||
@ -106,6 +106,7 @@ if ($type == 'global') {
|
||||
} else {
|
||||
$sql = "SELECT COUNT(*) as nb FROM ".MAIN_DB_PREFIX."eventorganization_conferenceorboothattendee";
|
||||
$sql .= " WHERE fk_project = ".((int) $project->id);
|
||||
$sql .= " AND status IN (0, 1)";
|
||||
|
||||
$resql = $db->query($sql);
|
||||
if ($resql) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user