diff --git a/inc/mod/pages.php b/inc/mod/pages.php index e90af00e..6f8e8f14 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -2800,7 +2800,7 @@ function mod_edit_page($id) { $query->bindValue(':id', $id); $query->execute() or error(db_error($query)); - $fn = ($board['uri'] ? ($board['uri'] . '/') : '') . $page['name'] . '.html'; + $fn = (isset($board['uri']) ? ($board['uri'] . '/') : '') . $page['name'] . '.html'; $body = "