Bugfix: Fix watchlist page-edit module check

This commit is contained in:
Starbeamrainbowlabs 2019-12-23 20:53:08 +00:00
parent 7548c1e7ee
commit 543fcc171f
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ register_module([
exit(page_renderer::render_main("Watchlist update successful", "<p>$message</p>"));
});
if(!module_exists("edit")) {
if(!module_exists("page-edit")) {
error_log("[module/feature-watchlist] Note: Without the page-edit module, the feature-watchlist module doesn't make much sense. If you don't want anonymous people to edit your wiki, try the 'anonedits' setting.");
return false;
}