Can't move threads when there's only one board
This commit is contained in:
parent
84c181e692
commit
9e17fc2261
4
mod.php
4
mod.php
@ -2300,7 +2300,9 @@
|
|||||||
;
|
;
|
||||||
|
|
||||||
$boards = listBoards();
|
$boards = listBoards();
|
||||||
|
if(count($boards) <= 1)
|
||||||
|
error('No board to move to; there is only one.');
|
||||||
|
|
||||||
$__boards = '';
|
$__boards = '';
|
||||||
foreach($boards as &$_board) {
|
foreach($boards as &$_board) {
|
||||||
if($_board['uri'] == $board['uri'])
|
if($_board['uri'] == $board['uri'])
|
||||||
|
Loading…
Reference in New Issue
Block a user