diff options
author | Christian Schneider | 2018-06-15 16:22:53 +0200 |
---|---|---|
committer | Christian Schneider | 2018-06-15 16:22:53 +0200 |
commit | 24cbb46dd72da6d4ab2440b0abd88f736d46064c (patch) | |
tree | 800cba34e185d36b1553b0a3fff17f4697b3c563 | |
parent | e746cce3465a662115cf8cbaea030ac48403736d (diff) | |
download | itools-24cbb46dd72da6d4ab2440b0abd88f736d46064c.tar.gz itools-24cbb46dd72da6d4ab2440b0abd88f736d46064c.tar.bz2 itools-24cbb46dd72da6d4ab2440b0abd88f736d46064c.zip |
Silence warning for uid cookies with mb4 characters
-rw-r--r-- | it_user.class | 2 |
1 files changed, 1 insertions, 1 deletions
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 = ""; |