Skip to content

Commit 3c0b4c1

Browse files
authored
Version: 2.7.1. (#17)
* Fix. SFW. SFW updating fixed. * Version: 2.7.1.
1 parent 2e4370e commit 3c0b4c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cleantalk/inc/common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use Cleantalk\Variables\Server;
55

66
define('APBCT_PLUGIN', 'uni');
7-
define('APBCT_VERSION', '2.7.0');
7+
define('APBCT_VERSION', '2.7.1');
88
define('APBCT_AGENT', APBCT_PLUGIN . '-' . str_replace( '.', '', APBCT_VERSION ) );
99
define('APBCT_USER_AGENT', 'Cleantalk-Antispam-Universal-Plugin/' . APBCT_VERSION);
1010
define('APBCT_INITIAL_INCLUDE_PATH', get_include_path());

cleantalk/lib/Cleantalk/ApbctUni/SFW.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ private function sfw_update__write_to_db($path)
354354
$nets_for_save[] = array(
355355
'network' => $entry[0],
356356
'mask' => $entry[1],
357-
'status' => isset( $entry[3] ) ? $entry[3] : 0,
358-
'is_personal' => isset( $entry[4] ) ? intval( $entry[4] ) : 0,
357+
'status' => isset( $entry[2] ) ? $entry[2] : 0,
358+
'is_personal' => isset( $entry[3] ) ? intval( $entry[3] ) : 0,
359359
);
360360

361361
}

0 commit comments

Comments
 (0)