Joywork/ajax/editUserBudget.php
2026-05-22 21:21:54 +03:00

11 lines
334 B
PHP

<?php
require_once($_SERVER['DOCUMENT_ROOT'] . "/config.php");
//ini_set('display_errors', 1);
//error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE);
if ($_SESSION['id'] && isset($_POST['ok_agent_id'])) {
$post = clearInputData($_POST);
$user = new User;
echo json_encode($user->edit_agent_budget($post));
}
?>