Joywork/ajax/addInnerDoc.php

6 lines
260 B
PHP
Raw Normal View History

2026-05-22 20:21:54 +02:00
<?php
require_once($_SERVER['DOCUMENT_ROOT']."/config.php");
if (isset($_SESSION['id'])) {
$post = clearInputData($_POST);
return json_encode(Docs::fillInnerDocument($post['blank_id'], $post['client_id'], $post['object_id'], $post['client_ids']));
}