mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
Cleaned up warnings durring login
This commit is contained in:
parent
7535e51660
commit
b1d7e24dd3
@ -55,7 +55,10 @@
|
||||
$this->data = Array();
|
||||
$this->data = unserialize($pref_info);
|
||||
$this->db->unlock();
|
||||
reset ($this->data);
|
||||
// This is to supress warnings durring login
|
||||
if (gettype($this->data) == "array") {
|
||||
reset ($this->data);
|
||||
}
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user