mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-14 15:37:12 +00:00
Rspamd History fix small error
This commit is contained in:
1 parent
be752828d1
commit
d107dcd7d1
1 file changed
+1
-1
@@ -930,7 +930,7 @@ function get_logs($container, $lines = 100) {
|
||||
curl_setopt($curl, CURLOPT_URL,"http://rspamd-mailcow:11334/history");
|
||||
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
|
||||
$history = curl_exec($curl);
|
||||
if (!curl_errno($ch)) {
|
||||
if (!curl_errno($curl)) {
|
||||
$data_array = json_decode($history, true);
|
||||
curl_close($curl);
|
||||
return $data_array['rows'];
|
||||
|
||||
Reference in new issue
Block a user