From 9e17fc22616c0340d121a8a9aa6515cd1d9853da Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sat, 19 Nov 2011 17:52:57 +1100 Subject: Can't move threads when there's only one board --- mod.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mod.php') diff --git a/mod.php b/mod.php index b0129086..fd65abd7 100644 --- a/mod.php +++ b/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']) -- cgit v1.3