Лишний вызов объекта.

This commit is contained in:
Igor Barkov (iwork) 2021-01-29 17:27:01 +02:00
parent 14e8c647ce
commit 61f8df39d6

View File

@ -16,7 +16,6 @@ $password = isset($_POST['psw']) ? password_hash($_POST['psw'], PASSWORD_DEFAULT
$_GET['change'] = $_GET['change'] ?? null; $_GET['change'] = $_GET['change'] ?? null;
$newPassword = $_POST['newpasswd'] ?? 0; $newPassword = $_POST['newpasswd'] ?? 0;
$hashCheck = $_POST['hashcheck'] ?? 0; $hashCheck = $_POST['hashcheck'] ?? 0;
$db = new DBPDO();
$operation = new class { $operation = new class {
private function mailSend(string $to, string $message): bool private function mailSend(string $to, string $message): bool