mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 05:22:59 +00:00
Bugfix: Fix watchlist page-edit module check
This commit is contained in:
parent
7548c1e7ee
commit
543fcc171f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue