소스 검색

Rspamd History fix small error

markusg 8 년 전
부모
커밋
d107dcd7d1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      data/web/inc/functions.inc.php

+ 1 - 1
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'];