Can't move threads when there's only one board

This commit is contained in:
Savetheinternet 2011-11-19 17:52:57 +11:00
parent 84c181e692
commit 9e17fc2261

View File

@ -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'])