From d107dcd7d18f9d359419d901d5e4f0e75a145ad7 Mon Sep 17 00:00:00 2001 From: markusg Date: Mon, 30 Oct 2017 22:15:11 +0100 Subject: [PATCH] Rspamd History fix small error --- data/web/inc/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/inc/functions.inc.php b/data/web/inc/functions.inc.php index 79a449eb..4168b1bf 100644 --- a/data/web/inc/functions.inc.php +++ b/data/web/inc/functions.inc.php @@ -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'];