You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: antispambycleantalk.php
+21-17Lines changed: 21 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
/**
4
4
* CleanTalk joomla plugin
5
5
*
6
-
* @version 4.9.7
6
+
* @version 4.9.8
7
7
* @package Cleantalk
8
8
* @subpackage Joomla
9
9
* @author CleanTalk (welcome@cleantalk.org)
@@ -25,7 +25,7 @@ class plgSystemAntispambycleantalk extends JPlugin {
25
25
/**
26
26
* Plugin version string for server
27
27
*/
28
-
constENGINE = 'joomla3-497';
28
+
constENGINE = 'joomla3-498';
29
29
30
30
/**
31
31
* Default value for hidden field ct_checkjs
@@ -953,7 +953,7 @@ public function onAfterInitialise(){
953
953
$CTconfig = $this->getCTConfig();
954
954
$send_result['result']=null;
955
955
$send_result['data']=null;
956
-
if ($CTconfig['connection_reports']->negative_report !== null)
956
+
if ($CTconfig['connection_reports']['negative_report'] !== null)
957
957
{
958
958
$to = "welcome@cleantalk.org" ;
959
959
$subject = "Connection report for ".$_SERVER['HTTP_HOST'];
@@ -963,7 +963,7 @@ public function onAfterInitialise(){
963
963
<title></title>
964
964
</head>
965
965
<body>
966
-
<p>From '.date('d M',$CTconfig['connection_reports']->negative_report[0]->date).' to '.date('d M').' has been made '.($CTconfig['connection_reports']->success+$CTconfig['connection_reports']->negative).' calls, where '.$CTconfig['connection_reports']->success.' were success and '.$CTconfig['connection_reports']->negative.' were negative</p>
966
+
<p>From '.date('d M',$CTconfig['connection_reports']['negative_report'][0]->date).' to '.date('d M').' has been made '.($CTconfig['connection_reports']['success']+$CTconfig['connection_reports']['negative']).' calls, where '.$CTconfig['connection_reports']['success'].' were success and '.$CTconfig['connection_reports']['negative'].' were negative</p>
967
967
<p>Negative report:</p>
968
968
<table> <tr>
969
969
<td> </td>
@@ -973,7 +973,7 @@ public function onAfterInitialise(){
0 commit comments