From 24cbb46dd72da6d4ab2440b0abd88f736d46064c Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 15 Jun 2018 16:22:53 +0200 Subject: Silence warning for uid cookies with mb4 characters --- it_user.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_user.class') diff --git a/it_user.class b/it_user.class index 50a5d2e..914d3e3 100644 --- a/it_user.class +++ b/it_user.class @@ -167,7 +167,7 @@ function get_status() } else if (isset($_COOKIE[$this->p['uidcookiename']]) && ($this->uid = substr($_COOKIE[$this->p['uidcookiename']], 0, 32))) { - $this->read($this->uid); + @$this->read($this->uid); if ($this->username == $this->uid) $this->username = ""; -- cgit v1.2.3