mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +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 = Array();
|
||||||
$this->data = unserialize($pref_info);
|
$this->data = unserialize($pref_info);
|
||||||
$this->db->unlock();
|
$this->db->unlock();
|
||||||
|
// This is to supress warnings durring login
|
||||||
|
if (gettype($this->data) == "array") {
|
||||||
reset ($this->data);
|
reset ($this->data);
|
||||||
|
}
|
||||||
return $this->data;
|
return $this->data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user