Skip to content
Snippets Groups Projects
Commit 6cb6ccf9 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #5259 from sbechet/develop

Regression
parents 1ebb4159 be5eb42a
No related branches found
No related tags found
No related merge requests found
...@@ -104,17 +104,17 @@ if (empty($reshook)) { ...@@ -104,17 +104,17 @@ if (empty($reshook)) {
break; break;
} }
if (! $error) $tabparam['AGENDA_EXT_NAME_'.$id.'_'.$i]=$name;
{ $tabparam['AGENDA_EXT_SRC_'.$id.'_'.$i]=$src;
$result=dol_set_user_param($db, $conf, $object, $tabparam); $tabparam['AGENDA_EXT_OFFSETTZ_'.$id.'_'.$i]=$offsettz;
if (! $result > 0) $error++; $tabparam['AGENDA_EXT_COLOR_'.$id.'_'.$i]=$color;
} $tabparam['AGENDA_EXT_ENABLED_'.$id.'_'.$i]=$enabled;
$i ++; $i ++;
} }
if (!$error) { if (!$error) {
$result = dol_set_user_param($db, $conf, $fuser, $tabparam); $result = dol_set_user_param($db, $conf, $object, $tabparam);
if (!$result > 0) { if (!$result > 0) {
$error ++; $error ++;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment