Esempio n. 1
0
            /*
              
              
              
              
              '';
              $agf->fin_validite='';
              
              $agf->fk_commercial='';
              $agf->notes_private='';
              $agf->notes_public='';
              $agf->fk_user_author='';
              $agf->datec='';
              $agf->fk_user_mod='';
            */
            $result = $agf->update($user);
            if ($result > 0) {
                Header("Location: " . $_SERVER['PHP_SELF'] . "?id=" . $id);
                exit;
            } else {
                dol_syslog("gestimmo::mandat ::fiche error=" . $agf->error, LOG_ERR);
                $mesg = '<div class="error">' . $agf->error . '</div>';
                $action = 'edit';
            }
        } else {
            dol_syslog("gestimmo::site::card error=" . $agf->error, LOG_ERR);
            $mesg = '<div class="error">' . $agf->error . '</div>';
        }
    }
}
/*