forked from leftypol/leftypol
Merge vichan PHP8 fixes, configure composer, fix outstanding incompatibilities
This commit is contained in:
parent
c9ef4e80ac
commit
2605a6ff5d
252 changed files with 279 additions and 28498 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue