forked from leftypol/leftypol
Can't move threads when there's only one board
This commit is contained in:
parent
84c181e692
commit
9e17fc2261
1 changed files with 3 additions and 1 deletions
4
mod.php
4
mod.php
|
@ -2300,7 +2300,9 @@
|
|||
;
|
||||
|
||||
$boards = listBoards();
|
||||
|
||||
if(count($boards) <= 1)
|
||||
error('No board to move to; there is only one.');
|
||||
|
||||
$__boards = '';
|
||||
foreach($boards as &$_board) {
|
||||
if($_board['uri'] == $board['uri'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue