Skip to content

Commit 13fd729

Browse files
committed
Minor updates
1 parent f96575c commit 13fd729

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/controllers/Core_ChatController.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ public function getFullChat($chatRoomId)
8585
return $this->redirect('back', 'The requested chat room does not exist.');
8686
}
8787

88-
$boards = Forum_Board::orderByNameAsc()->get();
89-
$boards = $this->arrayToSelect($boards, 'id', 'name', 'Select a board');
88+
$boards = Forum_Category::where('forum_category_type_id', '!=', Forum_Category::TYPE_SUPPORT)
89+
->orderByNameAsc()->get()
90+
->boards->toSelectArray('Select a Board');
9091

9192
// Get the data
9293
$chatRoom = Chat_Room::with('chats')->find($chatRoomId);

src/models/Chat.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22
namespace Syntax\Core;
3-
use HTML;
43
use SocketIOClient;
54
use BBCode;
65
use Config;

0 commit comments

Comments
 (0)