From 543fcc171ff8d1dc874fafeb76547143a5feffb0 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 23 Dec 2019 20:53:08 +0000 Subject: [PATCH] Bugfix: Fix watchlist page-edit module check --- modules/feature-watchlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/feature-watchlist.php b/modules/feature-watchlist.php index 13d64f5..cddf2ba 100644 --- a/modules/feature-watchlist.php +++ b/modules/feature-watchlist.php @@ -215,7 +215,7 @@ register_module([ exit(page_renderer::render_main("Watchlist update successful", "

$message

")); }); - 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; }