1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 16:00:22 +01:00

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 21608e534c
commit 71cedac7db

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