diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-11-19 17:52:57 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-11-19 17:52:57 +1100 |
| commit | 9e17fc22616c0340d121a8a9aa6515cd1d9853da (patch) | |
| tree | f699783bd8b28ca3cb466e6333b782a9483881cf /mod.php | |
| parent | 84c181e692445fb2fc152d378c581fe774b82556 (diff) | |
Can't move threads when there's only one board
Diffstat (limited to 'mod.php')
| -rw-r--r-- | mod.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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']) |
