Skip to content

Commit

Permalink
Fix. Code. Request class loading fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Glomberg committed Oct 18, 2024
1 parent 8da6e89 commit 14b70bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cleantalk.php
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ private function sendRequest($data, $url, $server_timeout = 3)
}

/** @var \Cleantalk\Common\Http\Request $request_class */
$request_class = Mloader::get('Request');
$request_class = Mloader::get('Http\Request');
$http = new $request_class();

$result = $http->setUrl($url)
Expand Down

0 comments on commit 14b70bf

Please sign in to comment.