| 12345678910111213141516171819 |
- <?php
- if (core::ifPost("from")) {
- clients::maj(core::getPost("id"), core::getPost("value"));
- json::create("documents");
- json::create("documents-limited");
- historique::recRef("/parametres-clients.html");
- historique::add(array(
- "idType" => historique::getIdRef("ACTION"),
- "idUser" => session::getId(),
- "idPage" => historique::getIdRef("/parametres-clients.html"),
- "log" => "Modification du client : " . core::getPost("value")
- ));
- } else {
- header('HTTP/1.0 401 Unauthorized');
- exit();
- }
|