commit
6cb6ccf947
@ -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 ++;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user