mirror of
https://github.com/kevachat/webapp.git
synced 2025-02-02 01:44:27 +00:00
skip empty pin list value
This commit is contained in:
parent
6711f53c3a
commit
4384cf36d5
@ -102,9 +102,12 @@ class ModuleController extends AbstractController
|
|||||||
// Create rooms list
|
// Create rooms list
|
||||||
$list = [];
|
$list = [];
|
||||||
|
|
||||||
foreach ((array) explode('|', $this->getParameter('app.kevacoin.room.namespaces.pinned')) as $room)
|
if ($this->getParameter('app.kevacoin.room.namespaces.pinned'))
|
||||||
{
|
{
|
||||||
$list[] = $room;
|
foreach ((array) explode('|', $this->getParameter('app.kevacoin.room.namespaces.pinned')) as $room)
|
||||||
|
{
|
||||||
|
$list[] = $room;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Append custom valid namespace to the rooms list menu
|
// Append custom valid namespace to the rooms list menu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user