Merge vichan PHP8 fixes, configure composer, fix outstanding incompatibilities

This commit is contained in:
discomrade 2021-06-29 23:10:12 -02:00
parent c9ef4e80ac
commit 2605a6ff5d
252 changed files with 279 additions and 28498 deletions

View file

@ -306,8 +306,8 @@
* Build and save the HTML of the catalog for the given board
*/
public function build($settings, $board_name) {
global $config, $board;
if ($board['uri'] != $board_name) {
global $board;
if (is_null($board) || $board['uri'] != $board_name) {
if (!openBoard($board_name)) {
error(sprintf(_("Board %s doesn't exist"), $board_name));
}