mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Use current()
This commit is contained in:
parent
b6a1577d0f
commit
a942396b7c
@ -29,7 +29,7 @@ public function isVisible() {
|
|||||||
|
|
||||||
do {
|
do {
|
||||||
$cache->seek($i++);
|
$cache->seek($i++);
|
||||||
$this->room = $cache->search($cache->key());
|
$this->room = $cache->current();
|
||||||
}
|
}
|
||||||
while (!$this->room->canEnter());
|
while (!$this->room->canEnter());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user