1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 09:44:28 +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,6 +2300,8 @@
;
$boards = listBoards();
if(count($boards) <= 1)
error('No board to move to; there is only one.');
$__boards = '';
foreach($boards as &$_board) {