From 464492d8262c1ce816b2791b0ce26cec58b148dc Mon Sep 17 00:00:00 2001 From: slawkens Date: Wed, 26 Feb 2025 16:16:45 +0100 Subject: [PATCH] Update OTS_Account.php --- system/libs/pot/OTS_Account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/libs/pot/OTS_Account.php b/system/libs/pot/OTS_Account.php index 067c418d..07f31c82 100644 --- a/system/libs/pot/OTS_Account.php +++ b/system/libs/pot/OTS_Account.php @@ -1011,7 +1011,7 @@ class OTS_Account extends OTS_Row_DAO implements IteratorAggregate, Countable public function logAction($action) { $ip = get_browser_real_ip(); - if(strpos($ip, ":") === false) { + if(!str_contains($ip, ":")) { $ipv6 = '0'; } else {